diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-11 17:48:24 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-03-11 17:48:24 +0100 |
commit | 9babf6a347c71b01cdc8c057185083b96447af62 (patch) | |
tree | ca9d15f842da47855958977f90a71016f53b2019 | |
parent | e6697f295584dee9ea9df7cd3a60fac8e1cfdee2 (diff) |
encode(2): clarify lim argument to enc*(), add SOURCE reference for encodefmt()
-rw-r--r-- | sys/man/2/encode | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/man/2/encode b/sys/man/2/encode index 9436d94de..3a8ca61e4 100644 --- a/sys/man/2/encode +++ b/sys/man/2/encode @@ -36,7 +36,7 @@ create null terminated strings. They return the size of the encoded string (without the null) or -1 if the encoding fails. The encoding fails if .IR lim , -the length of the output buffer, is too small. +the length of the output buffer (including null), is too small. .PP .IR Dec16 , .I dec32 @@ -83,3 +83,5 @@ For example, to display a 15 byte array as hex: .B /sys/src/libc/port/u32.c .br .B /sys/src/libc/port/u64.c +.br +.B /sys/src/libc/port/encodefmt.c |