Move libstand.3 to libsa.3. Update libsa.3 to include functions

recently added. More are likely missing.
This commit is contained in:
imp 2018-01-31 04:29:05 +00:00
parent 87ace50e1e
commit 623ec8479b

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd August 6, 2004 .Dd February 1, 2018
.Dt LIBSTAND 3 .Dt LIBSTAND 3
.Os .Os
.Sh NAME .Sh NAME
@ -161,6 +161,10 @@ may be used to prevent a variable being unset.
.Bl -hang -width 10n .Bl -hang -width 10n
.It Xo .It Xo
.Ft int .Ft int
.Fn abs "int i"
.Xc
.It Xo
.Ft int
.Fn getopt "int argc" "char * const *argv" "const char *optstring" .Fn getopt "int argc" "char * const *argv" "const char *optstring"
.Xc .Xc
.It Xo .It Xo
@ -168,6 +172,18 @@ may be used to prevent a variable being unset.
.Fn strtol "const char *nptr" "char **endptr" "int base" .Fn strtol "const char *nptr" "char **endptr" "int base"
.Xc .Xc
.It Xo .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 .Ft void
.Fn srandom "unsigned int seed" .Fn srandom "unsigned int seed"
.Xc .Xc
@ -350,6 +366,22 @@ ptr,
.Xc .Xc
.It Xo .It Xo
.Ft int .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" .Fn toupper "int c"
.Xc .Xc
.It Xo .It Xo
@ -583,6 +615,14 @@ The device driver itself will already have been called for the close; this call
should clean up any allocation made by devopen only. should clean up any allocation made by devopen only.
.It Xo .It Xo
.Ft void .Ft void
.Fn abort
.Xc
.Pp
Calls
.Fn panic
with a fixed string.
.It Xo
.Ft void
.Fn panic "const char *msg" "..." .Fn panic "const char *msg" "..."
.Xc .Xc
.Pp .Pp