From owner-svn-src-all@freebsd.org Wed Jan 31 04:29:09 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74F3DED8B0F; Wed, 31 Jan 2018 04:29:09 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23DE571F32; Wed, 31 Jan 2018 04:29:06 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 353202102F; Wed, 31 Jan 2018 04:29:06 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0V4T61O030223; Wed, 31 Jan 2018 04:29:06 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0V4T63q030222; Wed, 31 Jan 2018 04:29:06 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201801310429.w0V4T63q030222@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Wed, 31 Jan 2018 04:29:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328614 - head/stand/libsa X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/stand/libsa X-SVN-Commit-Revision: 328614 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 04:29:09 -0000 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" "..."