X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/cededfbe1efb12e68c1defe008f1d69d97f4cbe3..ece42f686d1b7624c7e9b1674e97399221b95e2c:/man/darray.3 diff --git a/man/darray.3 b/man/darray.3 index 3b796b1..69a3239 100644 --- a/man/darray.3 +++ b/man/darray.3 @@ -94,8 +94,8 @@ darray \- dense, dynamically resizing arrays .SH "DESCRIPTION" The .B -declares a collection of types, macros and functions which implement -dynamically resizing arrays. +header file declares a collection of types, macros and functions which +implement dynamically resizing arrays. .PP The macros described here may evaluate their arguments multiple times unless otherwise specified. @@ -129,7 +129,7 @@ The macro is a valid static initializer for all types of dynamic arrays. For cases where this isn't appropriate, a dynamic array may be initialized using the macro -.BR DA_INIT , +.BR DA_CREATE , passing it the address of the array. .PP Arrays may be disposed of using the @@ -179,7 +179,7 @@ is the base address of the actual array. The elements are stored contiguously starting at this address. An element at index .I i may be referenced using the syntax -.BI DA( a )[ i \fR. +.BI DA( a )[ i ]\fR. .PP The number of elements in the array .I a