X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/1135ca5456cba54c862f8cd9d568c9c3a2b7e905..ff76c38f2d94c82b234d67e717d855b52e5d6421:/man/sym.3 diff --git a/man/sym.3 b/man/sym.3 index c495ab3..d81186b 100644 --- a/man/sym.3 +++ b/man/sym.3 @@ -99,27 +99,27 @@ Most of the actual work is done by the function It does both lookup and creation, depending on its arguments. To do its job, it needs to know the following bits of information: .TP -.I t +.BI "sym_table *" t A pointer to a symbol table to manipulate. .TP -.I n +.BI "const char *" n The address of the .I key to look up or create. Usually this will be a simple text string, although it can actually be any arbitrary binary data. .TP -.I l +.BI "long " l The length of the key. If this is \-1, .B sym_find assumes that the key is a null-terminated string, and calculates its length itself. .TP -.I sz +.BI "size_t " sz The size of the value block to allocate if the key could not be found. If this is zero, no value is allocated, and a null pointer is returned to indicate an unsuccessful lookup. .TP -.I f +.BI "unsigned *" f The address of a `found' flag to set. This is an output parameter. On exit, .B sym_find