svn commit: r328614 - head/stand/libsa
Warner Losh
imp at FreeBSD.org
Wed Jan 31 04:29:09 UTC 2018
Author: imp
Date: Wed Jan 31 04:29:05 2018
New Revision: 328614
URL: https://svnweb.freebsd.org/changeset/base/328614
Log:
Move libstand.3 to libsa.3. Update libsa.3 to include functions
recently added. More are likely missing.
Added:
head/stand/libsa/libsa.3 (contents, props changed)
- copied, changed from r328613, head/stand/libsa/libstand.3
Deleted:
head/stand/libsa/libstand.3
Copied and modified: head/stand/libsa/libsa.3 (from r328613, head/stand/libsa/libstand.3)
==============================================================================
--- head/stand/libsa/libstand.3 Wed Jan 31 04:29:00 2018 (r328613, copy source)
+++ head/stand/libsa/libsa.3 Wed Jan 31 04:29:05 2018 (r328614)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 6, 2004
+.Dd February 1, 2018
.Dt LIBSTAND 3
.Os
.Sh NAME
@@ -161,6 +161,10 @@ may be used to prevent a variable being unset.
.Bl -hang -width 10n
.It Xo
.Ft int
+.Fn abs "int i"
+.Xc
+.It Xo
+.Ft int
.Fn getopt "int argc" "char * const *argv" "const char *optstring"
.Xc
.It Xo
@@ -168,6 +172,18 @@ may be used to prevent a variable being unset.
.Fn strtol "const char *nptr" "char **endptr" "int base"
.Xc
.It Xo
+.Ft long long
+.Fn strtoll "const char *nptr" "char **endptr" "int base"
+.Xc
+.It Xo
+.Ft long
+.Fn strtoul "const char *nptr" "char **endptr" "int base"
+.Xc
+.It Xo
+.Ft long long
+.Fn strtoull "const char *nptr" "char **endptr" "int base"
+.Xc
+.It Xo
.Ft void
.Fn srandom "unsigned int seed"
.Xc
@@ -350,6 +366,22 @@ ptr,
.Xc
.It Xo
.Ft int
+.Fn isalnum "int c"
+.Xc
+.It Xo
+.Ft int
+.Fn iscntrl "int c"
+.Xc
+.It Xo
+.Ft int
+.Fn isgraph "int c"
+.Xc
+.It Xo
+.Ft int
+.Fn ispunct "int c"
+.Xc
+.It Xo
+.Ft int
.Fn toupper "int c"
.Xc
.It Xo
@@ -581,6 +613,14 @@ Close the device allocated for
.Fa of .
The device driver itself will already have been called for the close; this call
should clean up any allocation made by devopen only.
+.It Xo
+.Ft void
+.Fn abort
+.Xc
+.Pp
+Calls
+.Fn panic
+with a fixed string.
.It Xo
.Ft void
.Fn panic "const char *msg" "..."
More information about the svn-src-head
mailing list