diff options
author | jmc <> | 2005-04-14 07:58:46 +0000 |
---|---|---|
committer | jmc <> | 2005-04-14 07:58:46 +0000 |
commit | 479cd0cc362dd11feb41351723894c7f8bc31f82 (patch) | |
tree | 3bcfa1aa29661101f944c0005ffcdbd47b576d65 /src | |
parent | 1e6ad800accc74c633e9271255bdc909b9c1bb90 (diff) | |
download | openbsd-479cd0cc362dd11feb41351723894c7f8bc31f82.tar.gz openbsd-479cd0cc362dd11feb41351723894c7f8bc31f82.tar.bz2 openbsd-479cd0cc362dd11feb41351723894c7f8bc31f82.zip |
mark up NULL w/ .Dv;
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/stdlib/strtonum.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/strtonum.3 b/src/lib/libc/stdlib/strtonum.3 index ef089da071..11910a627c 100644 --- a/src/lib/libc/stdlib/strtonum.3 +++ b/src/lib/libc/stdlib/strtonum.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strtonum.3,v 1.10 2005/04/14 02:13:29 tedu Exp $ | 1 | .\" $OpenBSD: strtonum.3,v 1.11 2005/04/14 07:58:46 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2004 Ted Unangst | 3 | .\" Copyright (c) 2004 Ted Unangst |
4 | .\" | 4 | .\" |
@@ -81,7 +81,10 @@ On error, 0 is returned and | |||
81 | .Fa errstr | 81 | .Fa errstr |
82 | will point to an error message. | 82 | will point to an error message. |
83 | .Fa *errstr | 83 | .Fa *errstr |
84 | will be set to NULL on success; this fact can be used to differentiate | 84 | will be set to |
85 | .Dv NULL | ||
86 | on success; | ||
87 | this fact can be used to differentiate | ||
85 | a successful return of 0 from an error. | 88 | a successful return of 0 from an error. |
86 | .Sh EXAMPLES | 89 | .Sh EXAMPLES |
87 | Using | 90 | Using |