···11-.\" $OpenBSD: async_resolver.3,v 1.12 2013/04/30 13:05:44 jmc Exp $
11+.\" $OpenBSD: async_resolver.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 2012, Eric Faurot <eric@openbsd.org>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: April 30 2013 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt ASYN_RESOLVER 3
1919.Os
2020.Sh NAME
···3737.Nm getnameinfo_async
3838.Nd asynchronous resolver functions
3939.Sh SYNOPSIS
4040-.Fd #include <asr.h>
4040+.In asr.h
4141.Ft struct asr *
4242.Fn async_resolver "const char *conf"
4343.Ft void
+5-5
lib/libc/compat-43/creat.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: creat.3,v 1.6 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: creat.3,v 1.7 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt CREAT 3
3232.Os
3333.Sh NAME
3434.Nm creat
3535.Nd create a new file
3636.Sh SYNOPSIS
3737-.Fd #include <sys/types.h>
3838-.Fd #include <sys/stat.h>
3939-.Fd #include <fcntl.h>
3737+.In sys/types.h
3838+.In sys/stat.h
3939+.In fcntl.h
4040.Ft int
4141.Fn creat "const char *path" "mode_t mode"
4242.Sh DESCRIPTION
+3-3
lib/libc/compat-43/getdtablesize.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: getdtablesize.3,v 1.10 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: getdtablesize.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETDTABLESIZE 3
3232.Os
3333.Sh NAME
3434.Nm getdtablesize
3535.Nd get descriptor table size
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn getdtablesize void
4040.Sh DESCRIPTION
+3-3
lib/libc/compat-43/gethostid.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: gethostid.3,v 1.11 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: gethostid.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETHOSTID 3
3232.Os
3333.Sh NAME
···3535.Nm sethostid
3636.Nd get/set unique identifier of current host
3737.Sh SYNOPSIS
3838-.Fd #include <unistd.h>
3838+.In unistd.h
3939.Ft long
4040.Fn gethostid void
4141.Ft int
+3-3
lib/libc/compat-43/killpg.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: killpg.3,v 1.11 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: killpg.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt KILLPG 3
3232.Os
3333.Sh NAME
3434.Nm killpg
3535.Nd send signal to a process group
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.Ft int
3939.Fn killpg "pid_t pgrp" "int sig"
4040.Sh DESCRIPTION
+3-3
lib/libc/compat-43/sigblock.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: sigblock.3,v 1.14 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: sigblock.3,v 1.15 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGBLOCK 3
3232.Os
3333.Sh NAME
3434.Nm sigblock
3535.Nd block signals
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.Ft int
3939.Fn sigblock "int mask"
4040.Ft int
+3-3
lib/libc/compat-43/sigpause.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: sigpause.3,v 1.12 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: sigpause.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGPAUSE 3
3232.Os
3333.Sh NAME
3434.Nm sigpause
3535.Nd atomically release blocked signals and wait for interrupt
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.Ft int
3939.Fn sigpause "int sigmask"
4040.Sh DESCRIPTION
+3-3
lib/libc/compat-43/sigsetmask.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: sigsetmask.3,v 1.13 2007/05/31 19:19:27 jmc Exp $
2828+.\" $OpenBSD: sigsetmask.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGSETMASK 3
3232.Os
3333.Sh NAME
3434.Nm sigsetmask
3535.Nd set current signal mask
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.Ft int
3939.Fn sigsetmask "int mask"
4040.Fn sigmask "int signum"
+3-3
lib/libc/compat-43/sigvec.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: sigvec.3,v 1.30 2011/11/22 21:13:30 guenther Exp $
2828+.\" $OpenBSD: sigvec.3,v 1.31 2013/06/05 03:39:22 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: November 22 2011 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGVEC 3
3232.Os
3333.Sh NAME
3434.Nm sigvec
3535.Nd software signal facilities
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.Bd -literal
3939struct sigvec {
4040 void (*sv_handler)();
+3-3
lib/libc/crypt/arc4random.3
···11-.\" $OpenBSD: arc4random.3,v 1.28 2012/07/26 18:39:48 naddy Exp $
11+.\" $OpenBSD: arc4random.3,v 1.29 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
44.\" All rights reserved.
···3030.\"
3131.\" Manual page, using -mandoc macros
3232.\"
3333-.Dd $Mdocdate: July 26 2012 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt ARC4RANDOM 3
3535.Os
3636.Sh NAME
···4141.Nm arc4random_addrandom
4242.Nd arc4 random number generator
4343.Sh SYNOPSIS
4444-.Fd #include <stdlib.h>
4444+.In stdlib.h
4545.Ft u_int32_t
4646.Fn arc4random "void"
4747.Ft void
···11-.\" $OpenBSD: dbm.3,v 1.11 2007/05/31 19:19:27 jmc Exp $
11+.\" $OpenBSD: dbm.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1999 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: May 31 2007 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt DBM 3
1919.Os
2020.Sh NAME
···2727.Nm nextkey
2828.Nd database subroutines
2929.Sh SYNOPSIS
3030-.Fd #include <dbm.h>
3030+.In dbm.h
3131.Ft int
3232.Fn dbminit "const char *file"
3333.Ft int
···11-.\" $OpenBSD: alarm.3,v 1.11 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: alarm.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993, 1994
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt ALARM 3
3232.Os
3333.Sh NAME
3434.Nm alarm
3535.Nd set signal timer alarm
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft unsigned int
3939.Fn alarm "unsigned int seconds"
4040.Sh DESCRIPTION
+5-5
lib/libc/gen/auth_subr.3
···11-.\" $OpenBSD: auth_subr.3,v 1.19 2009/07/15 07:53:56 schwarze Exp $
11+.\" $OpenBSD: auth_subr.3,v 1.20 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
44.\"
···3131.\" SUCH DAMAGE.
3232.\"
3333.\" BSDI $From: auth_subr.3,v 2.5 2000/03/30 19:11:27 polk Exp $
3434-.Dd $Mdocdate: July 15 2009 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt BSD_AUTH 3
3636.Os
3737.Sh NAME
···5858.Nm auth_setstate
5959.Nd interface to the BSD Authentication system
6060.Sh SYNOPSIS
6161-.Fd #include <sys/types.h>
6262-.Fd #include <login_cap.h>
6363-.Fd #include <bsd_auth.h>
6161+.In sys/types.h
6262+.In login_cap.h
6363+.In bsd_auth.h
6464.Ft auth_session_t *
6565.Fn auth_open "void"
6666.Ft int
+5-5
lib/libc/gen/authenticate.3
···11-.\" $OpenBSD: authenticate.3,v 1.13 2011/01/24 01:50:25 schwarze Exp $
11+.\" $OpenBSD: authenticate.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
44.\"
···3131.\" SUCH DAMAGE.
3232.\"
3333.\" BSDI $From: authenticate.3,v 2.7 1998/09/03 20:27:20 prb Exp $
3434-.Dd $Mdocdate: January 24 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt AUTHENTICATE 3
3636.Os
3737.Sh NAME
···4646.Nm auth_verify
4747.Nd simplified interface to the BSD Authentication system
4848.Sh SYNOPSIS
4949-.Fd #include <sys/types.h>
5050-.Fd #include <login_cap.h>
5151-.Fd #include <bsd_auth.h>
4949+.In sys/types.h
5050+.In login_cap.h
5151+.In bsd_auth.h
5252.Ft int
5353.Fn auth_userokay "char *name" "char *style" "char *type" "char *password"
5454.Ft auth_session_t *
+3-3
lib/libc/gen/basename.3
···11-.\" $OpenBSD: basename.3,v 1.20 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: basename.3,v 1.21 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: May 31 2007 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt BASENAME 3
1919.Os
2020.Sh NAME
2121.Nm basename
2222.Nd extract the base portion of a pathname
2323.Sh SYNOPSIS
2424-.Fd #include <libgen.h>
2424+.In libgen.h
2525.Ft char *
2626.Fn basename "const char *path"
2727.Sh DESCRIPTION
+3-3
lib/libc/gen/clock.3
···11-.\" $OpenBSD: clock.3,v 1.7 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: clock.3,v 1.8 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt CLOCK 3
3636.Os
3737.Sh NAME
3838.Nm clock
3939.Nd determine processor time used
4040.Sh SYNOPSIS
4141-.Fd #include <time.h>
4141+.In time.h
4242.Ft clock_t
4343.Fn clock void
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/confstr.3
···11-.\" $OpenBSD: confstr.3,v 1.18 2013/03/02 07:02:31 jmc Exp $
11+.\" $OpenBSD: confstr.3,v 1.19 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: March 2 2013 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt CONFSTR 3
3232.Os
3333.Sh NAME
3434.Nm confstr
3535.Nd get string-valued configurable variables
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft size_t
3939.Fn confstr "int name" "char *buf" "size_t len"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/ctermid.3
···11-.\" $OpenBSD: ctermid.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: ctermid.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt CTERMID 3
3232.Os
3333.Sh NAME
3434.Nm ctermid
3535.Nd generate terminal pathname
3636.Sh SYNOPSIS
3737-.Fd #include <stdio.h>
3737+.In stdio.h
3838.Ft char *
3939.Fn ctermid "char *buf"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/ctype.3
···11-.\" $OpenBSD: ctype.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: ctype.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 Regents of the University of California.
44.\" All rights reserved.
···2828.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929.\" SUCH DAMAGE.
3030.\"
3131-.Dd $Mdocdate: May 31 2007 $
3131+.Dd $Mdocdate: June 5 2013 $
3232.Dt CTYPE 3
3333.Os
3434.Sh NAME
3535.Nm ctype
3636.Nd character classification macros
3737.Sh SYNOPSIS
3838-.Fd #include <ctype.h>
3838+.In ctype.h
3939.Ft int
4040.Fn isalpha "int c"
4141.Ft int
+3-3
lib/libc/gen/daemon.3
···11-.\" $OpenBSD: daemon.3,v 1.11 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: daemon.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt DAEMON 3
3232.Os
3333.Sh NAME
3434.Nm daemon
3535.Nd run in the background
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft int
3939.Fn daemon "int nochdir" "int noclose"
4040.Sh DESCRIPTION
+4-4
lib/libc/gen/devname.3
···11-.\" $OpenBSD: devname.3,v 1.7 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: devname.3,v 1.8 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt DEVNAME 3
3232.Os
3333.Sh NAME
3434.Nm devname
3535.Nd get device name
3636.Sh SYNOPSIS
3737-.Fd #include <sys/stat.h>
3838-.Fd #include <stdlib.h>
3737+.In sys/stat.h
3838+.In stdlib.h
3939.Ft char *
4040.Fn devname "dev_t dev" "mode_t type"
4141.Sh DESCRIPTION
+4-4
lib/libc/gen/directory.3
···11-.\" $OpenBSD: directory.3,v 1.21 2011/07/18 23:04:40 matthew Exp $
11+.\" $OpenBSD: directory.3,v 1.22 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: July 18 2011 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt DIRECTORY 3
3232.Os
3333.Sh NAME
···4242.Nm dirfd
4343.Nd directory operations
4444.Sh SYNOPSIS
4545-.Fd #include <sys/types.h>
4646-.Fd #include <dirent.h>
4545+.In sys/types.h
4646+.In dirent.h
4747.Ft DIR *
4848.Fn opendir "const char *filename"
4949.Ft DIR *
+3-3
lib/libc/gen/dirname.3
···11-.\" $OpenBSD: dirname.3,v 1.18 2010/04/01 17:06:55 jmc Exp $
11+.\" $OpenBSD: dirname.3,v 1.19 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: April 1 2010 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt DIRNAME 3
1919.Os
2020.Sh NAME
2121.Nm dirname
2222.Nd extract the directory portion of a pathname
2323.Sh SYNOPSIS
2424-.Fd #include <libgen.h>
2424+.In libgen.h
2525.Ft char *
2626.Fn dirname "const char *path"
2727.Sh DESCRIPTION
+3-3
lib/libc/gen/err.3
···11-.\" $OpenBSD: err.3,v 1.16 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: err.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt ERR 3
3232.Os
3333.Sh NAME
···4141.Nm vwarnx
4242.Nd formatted error messages
4343.Sh SYNOPSIS
4444-.Fd #include <err.h>
4444+.In err.h
4545.Ft void
4646.Fn err "int eval" "const char *fmt" "..."
4747.Ft void
+3-3
lib/libc/gen/exec.3
···11-.\" $OpenBSD: exec.3,v 1.21 2012/03/21 23:20:35 matthew Exp $
11+.\" $OpenBSD: exec.3,v 1.22 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: March 21 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt EXEC 3
3232.Os
3333.Sh NAME
···3939.Nm execvpe
4040.Nd execute a file
4141.Sh SYNOPSIS
4242-.Fd #include <unistd.h>
4242+.In unistd.h
4343.Vt extern char **environ;
4444.Ft int
4545.Fn execl "const char *path" "const char *arg" ...
+3-3
lib/libc/gen/fabs.3
···11-.\" $OpenBSD: fabs.3,v 1.1 2011/07/08 22:58:54 martynas Exp $
11+.\" $OpenBSD: fabs.3,v 1.2 2013/06/05 03:39:22 tedu Exp $
22.\" Copyright (c) 1991 The Regents of the University of California.
33.\" All rights reserved.
44.\"
···2929.\"
3030.\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91
3131.\"
3232-.Dd $Mdocdate: July 8 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt FABS 3
3434.Os
3535.Sh NAME
···3838.Nm fabsl
3939.Nd floating-point absolute value functions
4040.Sh SYNOPSIS
4141-.Fd #include <math.h>
4141+.In math.h
4242.Ft double
4343.Fn fabs "double x"
4444.Ft float
+3-3
lib/libc/gen/fnmatch.3
···11-.\" $OpenBSD: fnmatch.3,v 1.13 2009/03/05 15:13:30 millert Exp $
11+.\" $OpenBSD: fnmatch.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\"
3232.\" @(#)fnmatch.3 8.3 (Berkeley) 4/28/95
3333.\"
3434-.Dd $Mdocdate: March 5 2009 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FNMATCH 3
3636.Os
3737.Sh NAME
3838.Nm fnmatch
3939.Nd match filename or pathname using shell globbing rules
4040.Sh SYNOPSIS
4141-.Fd #include <fnmatch.h>
4141+.In fnmatch.h
4242.Ft int
4343.Fn fnmatch "const char *pattern" "const char *string" "int flags"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/fpgetmask.3
···11-.\" $OpenBSD: fpgetmask.3,v 1.8 2011/08/30 12:25:09 jmc Exp $
11+.\" $OpenBSD: fpgetmask.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: fpgetmask.3,v 1.3 2001/09/16 02:57:03 wiz Exp $
33.\"
44.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
···2828.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2929.\" POSSIBILITY OF SUCH DAMAGE.
3030.\"
3131-.Dd $Mdocdate: August 30 2011 $
3131+.Dd $Mdocdate: June 5 2013 $
3232.Dt FPGETMASK 3
3333.Os
3434.Sh NAME
···4040.Nm fpsetsticky
4141.Nd IEEE FP mode control
4242.Sh SYNOPSIS
4343-.Fd #include <ieeefp.h>
4343+.In ieeefp.h
4444.Ft fp_except
4545.Fn fpgetmask void
4646.Ft fp_rnd
+3-3
lib/libc/gen/frexp.3
···11-.\" $OpenBSD: frexp.3,v 1.12 2011/07/08 22:28:33 martynas Exp $
11+.\" $OpenBSD: frexp.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 8 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FREXP 3
3636.Os
3737.Sh NAME
···4040.Nm frexpl
4141.Nd convert floating-point number to fractional and integral components
4242.Sh SYNOPSIS
4343-.Fd #include <math.h>
4343+.In math.h
4444.Ft double
4545.Fn frexp "double value" "int *exp"
4646.Ft float
+4-4
lib/libc/gen/ftok.3
···11-.\" $OpenBSD: ftok.3,v 1.14 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: ftok.3,v 1.15 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1994 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
44.\" All rights reserved.
···2525.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2626.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt FTOK 3
3030.Os
3131.Sh NAME
3232.Nm ftok
3333.Nd create IPC identifier from a pathname
3434.Sh SYNOPSIS
3535-.Fd #include <sys/types.h>
3636-.Fd #include <sys/ipc.h>
3535+.In sys/types.h
3636+.In sys/ipc.h
3737.Ft key_t
3838.Fn ftok "const char *path" "int id"
3939.Sh DESCRIPTION
+5-5
lib/libc/gen/fts.3
···11-.\" $OpenBSD: fts.3,v 1.29 2012/01/01 13:32:25 schwarze Exp $
11+.\" $OpenBSD: fts.3,v 1.30 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993, 1994
44.\" The Regents of the University of California. All rights reserved.
···2929.\"
3030.\" @(#)fts.3 8.5 (Berkeley) 4/16/94
3131.\"
3232-.Dd $Mdocdate: January 1 2012 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt FTS 3
3434.Os
3535.Sh NAME
3636.Nm fts
3737.Nd traverse a file hierarchy
3838.Sh SYNOPSIS
3939-.Fd #include <sys/types.h>
4040-.Fd #include <sys/stat.h>
4141-.Fd #include <fts.h>
3939+.In sys/types.h
4040+.In sys/stat.h
4141+.In fts.h
4242.Ft FTS *
4343.Fn fts_open "char * const *path_argv" "int options" "int (*compar)(const FTSENT **, const FTSENT **)"
4444.Ft FTSENT *
+3-3
lib/libc/gen/ftw.3
···11-.\" $OpenBSD: ftw.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: ftw.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1818.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
1919.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
2020.\"
2121-.Dd $Mdocdate: May 31 2007 $
2121+.Dd $Mdocdate: June 5 2013 $
2222.Dt FTW 3
2323.Os
2424.Sh NAME
2525.Nm ftw, nftw
2626.Nd traverse (walk) a file tree
2727.Sh SYNOPSIS
2828-.Fd #include <ftw.h>
2828+.In ftw.h
2929.Ft int
3030.Fo ftw
3131.Fa "const char *path"
+3-3
lib/libc/gen/getbsize.3
···11-.\" $OpenBSD: getbsize.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getbsize.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETBSIZE 3
3232.Os
3333.Sh NAME
3434.Nm getbsize
3535.Nd get user block size
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft char *
3939.Fn getbsize "int *headerlenp" "long *blocksizep"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/getcap.3
···11-.\" $OpenBSD: getcap.3,v 1.34 2011/09/14 15:29:15 jmc Exp $
11+.\" $OpenBSD: getcap.3,v 1.35 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1992, 1993
44.\" The Regents of the University of California. All rights reserved.
···3030.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3131.\" SUCH DAMAGE.
3232.\"
3333-.Dd $Mdocdate: September 14 2011 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt GETCAP 3
3535.Os
3636.Sh NAME
···4747.Nm cgetusedb
4848.Nd capability database access routines
4949.Sh SYNOPSIS
5050-.Fd #include <stdlib.h>
5050+.In stdlib.h
5151.Ft int
5252.Fn cgetent "char **buf" "char **db_array" "const char *name"
5353.Ft int
+3-3
lib/libc/gen/getcwd.3
···11-.\" $OpenBSD: getcwd.3,v 1.12 2009/12/10 22:11:12 jmc Exp $
11+.\" $OpenBSD: getcwd.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: December 10 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETCWD 3
3232.Os
3333.Sh NAME
···3535.Nm getwd
3636.Nd get working directory pathname
3737.Sh SYNOPSIS
3838-.Fd #include <unistd.h>
3838+.In unistd.h
3939.Ft char *
4040.Fn getcwd "char *buf" "size_t size"
4141.Ft char *
+4-4
lib/libc/gen/getdiskbyname.3
···11-.\" $OpenBSD: getdiskbyname.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getdiskbyname.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETDISKBYNAME 3
3232.Os
3333.Sh NAME
3434.Nm getdiskbyname
3535.Nd get generic disk description by its name
3636.Sh SYNOPSIS
3737-.Fd #include <sys/types.h>
3838-.Fd #include <sys/disklabel.h>
3737+.In sys/types.h
3838+.In sys/disklabel.h
3939.Ft struct disklabel *
4040.Fn getdiskbyname "const char *name"
4141.Sh DESCRIPTION
+3-3
lib/libc/gen/getdomainname.3
···11-.\" $OpenBSD: getdomainname.3,v 1.23 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getdomainname.3,v 1.24 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETDOMAINNAME 3
3232.Os
3333.Sh NAME
···3535.Nm setdomainname
3636.Nd get/set YP domain name of current host
3737.Sh SYNOPSIS
3838-.Fd #include <unistd.h>
3838+.In unistd.h
3939.Ft int
4040.Fn getdomainname "char *name" "size_t namelen"
4141.Ft int
+3-3
lib/libc/gen/getfsent.3
···11-.\" $OpenBSD: getfsent.3,v 1.11 2009/04/29 19:06:21 deraadt Exp $
11+.\" $OpenBSD: getfsent.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: April 29 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETFSENT 3
3232.Os
3333.Sh NAME
···3838.Nm endfsent
3939.Nd get file system descriptor file entry
4040.Sh SYNOPSIS
4141-.Fd #include <fstab.h>
4141+.In fstab.h
4242.Ft struct fstab *
4343.Fn getfsent void
4444.Ft struct fstab *
+4-4
lib/libc/gen/getgrent.3
···11-.\" $OpenBSD: getgrent.3,v 1.16 2008/07/28 20:19:32 jmc Exp $
11+.\" $OpenBSD: getgrent.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: July 28 2008 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETGRENT 3
3232.Os
3333.Sh NAME
···4242.Nm endgrent
4343.Nd group database operations
4444.Sh SYNOPSIS
4545-.Fd #include <sys/types.h>
4646-.Fd #include <grp.h>
4545+.In sys/types.h
4646+.In grp.h
4747.Ft struct group *
4848.Fn getgrent void
4949.Ft struct group *
+3-3
lib/libc/gen/getgrouplist.3
···11-.\" $OpenBSD: getgrouplist.3,v 1.16 2009/06/23 18:52:43 schwarze Exp $
11+.\" $OpenBSD: getgrouplist.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 23 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETGROUPLIST 3
3232.Os
3333.Sh NAME
3434.Nm getgrouplist
3535.Nd calculate group access list
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn getgrouplist "const char *name" "gid_t basegid" "gid_t *groups" "int *ngroups"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/gethostname.3
···11-.\" $OpenBSD: gethostname.3,v 1.23 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: gethostname.3,v 1.24 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETHOSTNAME 3
3232.Os
3333.Sh NAME
···3535.Nm sethostname
3636.Nd get/set name of current host
3737.Sh SYNOPSIS
3838-.Fd #include <unistd.h>
3838+.In unistd.h
3939.Ft int
4040.Fn gethostname "char *name" "size_t namelen"
4141.Ft int
+3-3
lib/libc/gen/getloadavg.3
···11-.\" $OpenBSD: getloadavg.3,v 1.12 2010/09/20 07:41:17 jmc Exp $
11+.\" $OpenBSD: getloadavg.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: September 20 2010 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETLOADAVG 3
3232.Os
3333.Sh NAME
3434.Nm getloadavg
3535.Nd get system load averages
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft int
3939.Fn getloadavg "double loadavg[]" "int nelem"
4040.Sh DESCRIPTION
+4-4
lib/libc/gen/getmntinfo.3
···11-.\" $OpenBSD: getmntinfo.3,v 1.11 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getmntinfo.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETMNTINFO 3
3232.Os
3333.Sh NAME
3434.Nm getmntinfo
3535.Nd get information about mounted file systems
3636.Sh SYNOPSIS
3737-.Fd #include <sys/param.h>
3838-.Fd #include <sys/mount.h>
3737+.In sys/param.h
3838+.In sys/mount.h
3939.Ft int
4040.Fn getmntinfo "struct statfs **mntbufp" "int flags"
4141.Sh DESCRIPTION
+3-3
lib/libc/gen/getnetgrent.3
···11-.\" $OpenBSD: getnetgrent.3,v 1.13 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getnetgrent.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1992, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETNETGRENT 3
3232.Os
3333.Sh NAME
···3737.Nm endnetgrent
3838.Nd netgroup database operations
3939.Sh SYNOPSIS
4040-.Fd #include <netgroup.h>
4040+.In netgroup.h
4141.Ft int
4242.Fn getnetgrent "const char **host" "const char **user" "const char **domain"
4343.Ft int
+3-3
lib/libc/gen/getpagesize.3
···11-.\" $OpenBSD: getpagesize.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getpagesize.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETPAGESIZE 3
3232.Os
3333.Sh NAME
3434.Nm getpagesize
3535.Nd get system page size
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn getpagesize void
4040.Sh DESCRIPTION
+4-4
lib/libc/gen/getpass.3
···11-.\" $OpenBSD: getpass.3,v 1.13 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getpass.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETPASS 3
3232.Os
3333.Sh NAME
3434.Nm getpass
3535.Nd get a password
3636.Sh SYNOPSIS
3737-.Fd #include <pwd.h>
3838-.Fd #include <unistd.h>
3737+.In pwd.h
3838+.In unistd.h
3939.Ft char *
4040.Fn getpass "const char *prompt"
4141.Sh DESCRIPTION
+4-4
lib/libc/gen/getpwent.3
···11-.\" $OpenBSD: getpwent.3,v 1.24 2009/06/01 21:52:03 millert Exp $
11+.\" $OpenBSD: getpwent.3,v 1.25 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1988, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 1 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETPWENT 3
3232.Os
3333.Sh NAME
···3636.Nm endpwent
3737.Nd sequential password database access
3838.Sh SYNOPSIS
3939-.Fd #include <sys/types.h>
4040-.Fd #include <pwd.h>
3939+.In sys/types.h
4040+.In pwd.h
4141.Ft struct passwd *
4242.Fn getpwent void
4343.Ft void
+4-4
lib/libc/gen/getpwnam.3
···11-.\" $OpenBSD: getpwnam.3,v 1.2 2009/06/02 05:09:16 jmc Exp $
11+.\" $OpenBSD: getpwnam.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1988, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 2 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETPWNAM 3
3232.Os
3333.Sh NAME
···3838.Nm setpassent
3939.Nd password database operations
4040.Sh SYNOPSIS
4141-.Fd #include <sys/types.h>
4242-.Fd #include <pwd.h>
4141+.In sys/types.h
4242+.In pwd.h
4343.Ft struct passwd *
4444.Fn getpwnam "const char *login"
4545.Ft struct passwd *
+3-3
lib/libc/gen/getttyent.3
···11-.\" $OpenBSD: getttyent.3,v 1.11 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getttyent.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETTTYENT 3
3232.Os
3333.Sh NAME
···3737.Nm endttyent
3838.Nd get ttys file entry
3939.Sh SYNOPSIS
4040-.Fd #include <ttyent.h>
4040+.In ttyent.h
4141.Ft struct ttyent *
4242.Fn getttyent "void"
4343.Ft struct ttyent *
+3-3
lib/libc/gen/getusershell.3
···11-.\" $OpenBSD: getusershell.3,v 1.13 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: getusershell.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1985, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETUSERSHELL 3
3232.Os
3333.Sh NAME
···3636.Nm endusershell
3737.Nd get legal user shells
3838.Sh SYNOPSIS
3939-.Fd #include <unistd.h>
3939+.In unistd.h
4040.Ft char *
4141.Fn getusershell void
4242.Ft void
+3-3
lib/libc/gen/glob.3
···11-.\" $OpenBSD: glob.3,v 1.30 2012/01/20 07:09:42 tedu Exp $
11+.\" $OpenBSD: glob.3,v 1.31 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993, 1994
44.\" The Regents of the University of California. All rights reserved.
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.Dd $Mdocdate: January 20 2012 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt GLOB 3
3434.Os
3535.Sh NAME
···3737.Nm globfree
3838.Nd generate pathnames matching a pattern
3939.Sh SYNOPSIS
4040-.Fd #include <glob.h>
4040+.In glob.h
4141.Ft int
4242.Fn glob "const char *pattern" "int flags" "const int (*errfunc)(const char *, int)" "glob_t *pglob"
4343.Ft void
+3-3
lib/libc/gen/initgroups.3
···11-.\" $OpenBSD: initgroups.3,v 1.13 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: initgroups.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt INITGROUPS 3
3232.Os
3333.Sh NAME
3434.Nm initgroups
3535.Nd initialize supplementary group IDs
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn initgroups "const char *name" "gid_t basegid"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/isalnum.3
···11-.\" $OpenBSD: isalnum.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isalnum.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISALNUM 3
3636.Os
3737.Sh NAME
3838.Nm isalnum
3939.Nd alphanumeric character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isalnum "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isalpha.3
···11-.\" $OpenBSD: isalpha.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isalpha.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISALPHA 3
3636.Os
3737.Sh NAME
3838.Nm isalpha
3939.Nd alphabetic character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isalpha "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isascii.3
···11-.\" $OpenBSD: isascii.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isascii.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991 The Regents of the University of California.
44.\" All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt ISASCII 3
3232.Os
3333.Sh NAME
3434.Nm isascii
3535.Nd ASCII character test
3636.Sh SYNOPSIS
3737-.Fd #include <ctype.h>
3737+.In ctype.h
3838.Ft int
3939.Fn isascii "int c"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/isblank.3
···11-.\" $OpenBSD: isblank.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isblank.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISBLANK 3
3636.Os
3737.Sh NAME
3838.Nm isblank
3939.Nd blank-space character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isblank "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/iscntrl.3
···11-.\" $OpenBSD: iscntrl.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: iscntrl.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISCNTRL 3
3636.Os
3737.Sh NAME
3838.Nm iscntrl
3939.Nd control character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn iscntrl "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isdigit.3
···11-.\" $OpenBSD: isdigit.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isdigit.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISDIGIT 3
3636.Os
3737.Sh NAME
3838.Nm isdigit
3939.Nd decimal-digit character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isdigit "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isfdtype.3
···11-.\" $OpenBSD: isfdtype.3,v 1.6 2011/04/24 08:15:29 jmc Exp $
11+.\" $OpenBSD: isfdtype.3,v 1.7 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1818.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
1919.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
2020.\"
2121-.Dd $Mdocdate: April 24 2011 $
2121+.Dd $Mdocdate: June 5 2013 $
2222.Dt ISFDTYPE 3
2323.Os
2424.Sh NAME
2525.Nm isfdtype
2626.Nd "determine whether a file descriptor is of a specific type"
2727.Sh SYNOPSIS
2828-.Fd #include <sys/stat.h>
2828+.In sys/stat.h
2929.Ft int
3030.Fn isfdtype "int fd" "int fdtype"
3131.Sh DESCRIPTION
+3-3
lib/libc/gen/isgraph.3
···11-.\" $OpenBSD: isgraph.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isgraph.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISGRAPH 3
3636.Os
3737.Sh NAME
3838.Nm isgraph
3939.Nd printing character test (space character exclusive)
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isgraph "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/islower.3
···11-.\" $OpenBSD: islower.3,v 1.9 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: islower.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISLOWER 3
3636.Os
3737.Sh NAME
3838.Nm islower
3939.Nd lower-case character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn islower "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isprint.3
···11-.\" $OpenBSD: isprint.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isprint.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISPRINT 3
3636.Os
3737.Sh NAME
3838.Nm isprint
3939.Nd printing character test (space character inclusive)
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isprint "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/ispunct.3
···11-.\" $OpenBSD: ispunct.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: ispunct.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISPUNCT 3
3636.Os
3737.Sh NAME
3838.Nm ispunct
3939.Nd punctuation character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn ispunct "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isspace.3
···11-.\" $OpenBSD: isspace.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isspace.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISSPACE 3
3636.Os
3737.Sh NAME
3838.Nm isspace
3939.Nd whitespace character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isspace "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isupper.3
···11-.\" $OpenBSD: isupper.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isupper.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISUPPER 3
3636.Os
3737.Sh NAME
3838.Nm isupper
3939.Nd upper-case character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isupper "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/isxdigit.3
···11-.\" $OpenBSD: isxdigit.3,v 1.8 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: isxdigit.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ISXDIGIT 3
3636.Os
3737.Sh NAME
3838.Nm isxdigit
3939.Nd hexadecimal-digit character test
4040.Sh SYNOPSIS
4141-.Fd #include <ctype.h>
4141+.In ctype.h
4242.Ft int
4343.Fn isxdigit "int c"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/ldexp.3
···11-.\" $OpenBSD: ldexp.3,v 1.7 2011/07/07 13:30:28 jmc Exp $
11+.\" $OpenBSD: ldexp.3,v 1.8 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt LDEXP 3
3636.Os
3737.Sh NAME
···4040.Nm ldexpl
4141.Nd multiply floating-point number by integral power of 2
4242.Sh SYNOPSIS
4343-.Fd #include <math.h>
4343+.In math.h
4444.Ft double
4545.Fn ldexp "double x" "int exp"
4646.Ft float
+3-3
lib/libc/gen/lockf.3
···11-.\" $OpenBSD: lockf.3,v 1.12 2008/06/26 05:42:05 ray Exp $
11+.\" $OpenBSD: lockf.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: lockf.3,v 1.1 1997/12/20 20:23:17 kleink Exp $
33.\"
44.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
···2828.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2929.\" POSSIBILITY OF SUCH DAMAGE.
3030.\"
3131-.Dd $Mdocdate: June 26 2008 $
3131+.Dd $Mdocdate: June 5 2013 $
3232.Dt LOCKF 3
3333.Os
3434.Sh NAME
3535.Nm lockf
3636.Nd record locking on files
3737.Sh SYNOPSIS
3838-.Fd #include <unistd.h>
3838+.In unistd.h
3939.Ft int
4040.Fn lockf "int filedes" "int function" "off_t size"
4141.Sh DESCRIPTION
+4-4
lib/libc/gen/login_cap.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: login_cap.3,v 1.15 2007/05/31 19:19:28 jmc Exp $
3232+.\" $OpenBSD: login_cap.3,v 1.16 2013/06/05 03:39:22 tedu Exp $
3333.\" BSDI $From: login_cap.3,v 1.4 1997/11/07 16:22:27 jch Exp $
3434.\"
3535-.Dd $Mdocdate: May 31 2007 $
3535+.Dd $Mdocdate: June 5 2013 $
3636.Dt LOGIN_CAP 3
3737.Os
3838.Sh NAME
···4949.Nm setusercontext
5050.Nd query login.conf database about a user class
5151.Sh SYNOPSIS
5252-.Fd #include <sys/types.h>
5353-.Fd #include <login_cap.h>
5252+.In sys/types.h
5353+.In login_cap.h
5454.Ft login_cap_t *
5555.Fn login_getclass "char *class"
5656.Ft char *
+3-3
lib/libc/gen/modf.3
···11-.\" $OpenBSD: modf.3,v 1.11 2011/07/08 22:48:19 martynas Exp $
11+.\" $OpenBSD: modf.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 8 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt MODF 3
3636.Os
3737.Sh NAME
···4040.Nm modfl
4141.Nd extract signed integral and fractional values from floating-point number
4242.Sh SYNOPSIS
4343-.Fd #include <math.h>
4343+.In math.h
4444.Ft double
4545.Fn modf "double value" "double *iptr"
4646.Ft float
+3-3
lib/libc/gen/nice.3
···11-.\" $OpenBSD: nice.3,v 1.16 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: nice.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt NICE 3
3232.Os
3333.Sh NAME
3434.Nm nice
3535.Nd change process scheduling priority
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn nice "int incr"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/nlist.3
···11-.\" $OpenBSD: nlist.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: nlist.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt NLIST 3
3232.Os
3333.Sh NAME
3434.Nm nlist
3535.Nd retrieve symbol table name list from an executable file
3636.Sh SYNOPSIS
3737-.Fd #include <nlist.h>
3737+.In nlist.h
3838.Ft int
3939.Fn nlist "const char *filename" "struct nlist *nl"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/pause.3
···11-.\" $OpenBSD: pause.3,v 1.11 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: pause.3,v 1.12 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt PAUSE 3
3232.Os
3333.Sh NAME
3434.Nm pause
3535.Nd stop until signal
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn pause void
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/popen.3
···11-.\" $OpenBSD: popen.3,v 1.16 2008/04/04 19:30:41 kurt Exp $
11+.\" $OpenBSD: popen.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: April 4 2008 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt POPEN 3
3232.Os
3333.Sh NAME
···3636.Nd process
3737.Tn I/O
3838.Sh SYNOPSIS
3939-.Fd #include <stdio.h>
3939+.In stdio.h
4040.Ft FILE *
4141.Fn popen "const char *command" "const char *type"
4242.Ft int
+3-3
lib/libc/gen/psignal.3
···11-.\" $OpenBSD: psignal.3,v 1.12 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: psignal.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt PSIGNAL 3
3232.Os
3333.Sh NAME
···3636.Nm sys_signame
3737.Nd system signal messages
3838.Sh SYNOPSIS
3939-.Fd #include <signal.h>
3939+.In signal.h
4040.Ft void
4141.Fn psignal "unsigned int sig" "const char *s"
4242.Vt extern char *sys_siglist[];
+3-3
lib/libc/gen/pw_dup.3
···11-.\" $OpenBSD: pw_dup.3,v 1.7 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: pw_dup.3,v 1.8 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: May 31 2007 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt PW_DUP 3
1919.Os
2020.Sh NAME
2121.Nm pw_dup
2222.Nd make a copy of a struct passwd
2323.Sh SYNOPSIS
2424-.Fd #include <pwd.h>
2424+.In pwd.h
2525.Ft struct passwd *
2626.Fn pw_dup "const struct passwd *pw"
2727.Sh DESCRIPTION
+4-4
lib/libc/gen/pwcache.3
···11-.\" $OpenBSD: pwcache.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: pwcache.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt PWCACHE 3
3232.Os
3333.Sh NAME
3434.Nm pwcache
3535.Nd cache password and group entries
3636.Sh SYNOPSIS
3737-.Fd #include <grp.h>
3838-.Fd #include <pwd.h>
3737+.In grp.h
3838+.In pwd.h
3939.Ft char *
4040.Fn user_from_uid "uid_t uid" "int nouser"
4141.Ft char *
+3-3
lib/libc/gen/raise.3
···11-.\" $OpenBSD: raise.3,v 1.9 2012/11/10 03:51:41 guenther Exp $
11+.\" $OpenBSD: raise.3,v 1.10 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: November 10 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt RAISE 3
3636.Os
3737.Sh NAME
3838.Nm raise
3939.Nd send a signal to the current thread
4040.Sh SYNOPSIS
4141-.Fd #include <signal.h>
4141+.In signal.h
4242.Ft int
4343.Fn raise "int sig"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/readpassphrase.3
···11-.\" $OpenBSD: readpassphrase.3,v 1.17 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: readpassphrase.3,v 1.18 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 2000, 2002 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1818.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
1919.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
2020.\"
2121-.Dd $Mdocdate: May 31 2007 $
2121+.Dd $Mdocdate: June 5 2013 $
2222.Dt READPASSPHRASE 3
2323.Os
2424.Sh NAME
2525.Nm readpassphrase
2626.Nd get a passphrase from the user
2727.Sh SYNOPSIS
2828-.Fd #include <readpassphrase.h>
2828+.In readpassphrase.h
2929.Ft char *
3030.Fn readpassphrase "const char *prompt" "char *buf" "size_t bufsiz" "int flags"
3131.Sh DESCRIPTION
+4-4
lib/libc/gen/scandir.3
···11-.\" $OpenBSD: scandir.3,v 1.12 2012/11/29 02:15:44 guenther Exp $
11+.\" $OpenBSD: scandir.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: November 29 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SCANDIR 3
3232.Os
3333.Sh NAME
···3535.Nm alphasort
3636.Nd scan a directory
3737.Sh SYNOPSIS
3838-.Fd #include <sys/types.h>
3939-.Fd #include <dirent.h>
3838+.In sys/types.h
3939+.In dirent.h
4040.Ft int
4141.Fn scandir "const char *dirname" "struct dirent ***namelist" "int \*(lp*select\*(rp\*(lpconst struct dirent *\*(rp" "int \*(lp*compar\*(rp\*(lpconst struct dirent **, const struct dirent **\*(rp"
4242.Ft int
+3-3
lib/libc/gen/setjmp.3
···11-.\" $OpenBSD: setjmp.3,v 1.22 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: setjmp.3,v 1.23 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt SETJMP 3
3636.Os
3737.Sh NAME
···4444.Nm longjmperror
4545.Nd non-local jumps
4646.Sh SYNOPSIS
4747-.Fd #include <setjmp.h>
4747+.In setjmp.h
4848.Ft int
4949.Fn sigsetjmp "sigjmp_buf env" "int savemask"
5050.Ft void
+3-3
lib/libc/gen/setmode.3
···11-.\" $OpenBSD: setmode.3,v 1.13 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: setmode.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SETMODE 3
3232.Os
3333.Sh NAME
···3535.Nm setmode
3636.Nd modify mode bits
3737.Sh SYNOPSIS
3838-.Fd #include <unistd.h>
3838+.In unistd.h
3939.Ft mode_t
4040.Fn getmode "const void *set" "mode_t mode"
4141.Ft void *
+3-3
lib/libc/gen/setproctitle.3
···11-.\" $OpenBSD: setproctitle.3,v 1.17 2013/05/31 20:59:23 ajacoutot Exp $
11+.\" $OpenBSD: setproctitle.3,v 1.18 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1994, 1995 Christopher G. Demetriou
44.\" All rights reserved.
···2929.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3030.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131.\"
3232-.Dd $Mdocdate: May 31 2013 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt SETPROCTITLE 3
3434.Os
3535.Sh NAME
3636.Nm setproctitle
3737.Nd set process title
3838.Sh SYNOPSIS
3939-.Fd #include <stdlib.h>
3939+.In stdlib.h
4040.Ft void
4141.Fn setproctitle "const char *fmt" "..."
4242.Sh DESCRIPTION
+3-3
lib/libc/gen/siginterrupt.3
···11-.\" $OpenBSD: siginterrupt.3,v 1.13 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: siginterrupt.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1985, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGINTERRUPT 3
3232.Os
3333.Sh NAME
3434.Nm siginterrupt
3535.Nd allow signals to interrupt system calls
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.Ft int
3939.Fn siginterrupt "int sig" "int flag"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/signal.3
···11-.\" $OpenBSD: signal.3,v 1.40 2013/04/22 21:33:16 tobias Exp $
11+.\" $OpenBSD: signal.3,v 1.41 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: April 22 2013 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGNAL 3
3232.Os
3333.Sh NAME
3434.Nm signal
3535.Nd simplified software signal facilities
3636.Sh SYNOPSIS
3737-.Fd #include <signal.h>
3737+.In signal.h
3838.\" The following is Quite Ugly, but syntactically correct.
3939.\" Don't try to fix it.
4040.Ft void
+3-3
lib/libc/gen/sigsetops.3
···11-.\" $OpenBSD: sigsetops.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: sigsetops.3,v 1.11 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SIGSETOPS 3
3232.Os
3333.Sh NAME
···3838.Nm sigismember
3939.Nd manipulate signal sets
4040.Sh SYNOPSIS
4141-.Fd #include <signal.h>
4141+.In signal.h
4242.Ft int
4343.Fn sigemptyset "sigset_t *set"
4444.Ft int
+3-3
lib/libc/gen/sleep.3
···11-.\" $OpenBSD: sleep.3,v 1.12 2012/10/16 18:35:40 millert Exp $
11+.\" $OpenBSD: sleep.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1986, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: October 16 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SLEEP 3
3232.Os
3333.Sh NAME
3434.Nm sleep
3535.Nd suspend process execution for interval measured in seconds
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft unsigned int
3939.Fn sleep "unsigned int seconds"
4040.Sh DESCRIPTION
···11-.\" $OpenBSD: strtofflags.3,v 1.6 2007/05/31 19:19:28 jmc Exp $
11+.\" $OpenBSD: strtofflags.3,v 1.7 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3030.\" @(#)setmode.3 8.2 (Berkeley) 4/28/95
3131.\" $FreeBSD: src/lib/libc/gen/strtofflags.3,v 1.5 2000/06/17 11:09:24 joe Exp $
3232.\"
3333-.Dd $Mdocdate: May 31 2007 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt STRTOFFLAGS 3
3535.Os
3636.Sh NAME
···3838.Nm strtofflags
3939.Nd convert between file flag bits and their string names
4040.Sh SYNOPSIS
4141-.Fd #include <unistd.h>
4141+.In unistd.h
4242.Ft char *
4343.Fn fflagstostr "u_int32_t flags"
4444.Ft int
+3-3
lib/libc/gen/sysconf.3
···11-.\" $OpenBSD: sysconf.3,v 1.31 2012/09/26 02:43:51 brad Exp $
11+.\" $OpenBSD: sysconf.3,v 1.32 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: September 26 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SYSCONF 3
3232.Os
3333.Sh NAME
3434.Nm sysconf
3535.Nd get configurable system variables
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft long
3939.Fn sysconf "int name"
4040.Sh DESCRIPTION
+4-4
lib/libc/gen/sysctl.3
···11-.\" $OpenBSD: sysctl.3,v 1.220 2013/06/02 21:37:03 yasuoka Exp $
11+.\" $OpenBSD: sysctl.3,v 1.221 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 2 2013 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SYSCTL 3
3232.Os
3333.Sh NAME
3434.Nm sysctl
3535.Nd get or set system information
3636.Sh SYNOPSIS
3737-.Fd #include <sys/param.h>
3838-.Fd #include <sys/sysctl.h>
3737+.In sys/param.h
3838+.In sys/sysctl.h
3939.Ft int
4040.Fn sysctl "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp" "size_t newlen"
4141.Sh DESCRIPTION
+4-4
lib/libc/gen/syslog.3
···11-.\" $OpenBSD: syslog.3,v 1.30 2013/06/01 16:57:51 espie Exp $
11+.\" $OpenBSD: syslog.3,v 1.31 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1985, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 1 2013 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SYSLOG 3
3232.Os
3333.Sh NAME
···4343.Nm setlogmask_r
4444.Nd control system log
4545.Sh SYNOPSIS
4646-.Fd #include <syslog.h>
4747-.Fd #include <stdarg.h>
4646+.In syslog.h
4747+.In stdarg.h
4848.Ft void
4949.Fn syslog "int priority" "const char *message" "..."
5050.Ft void
+3-3
lib/libc/gen/time.3
···11-.\" $OpenBSD: time.3,v 1.13 2013/04/19 16:12:05 tedu Exp $
11+.\" $OpenBSD: time.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: April 19 2013 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt TIME 3
3636.Os
3737.Sh NAME
3838.Nm time
3939.Nd get time of day
4040.Sh SYNOPSIS
4141-.Fd #include <time.h>
4141+.In time.h
4242.Ft time_t
4343.Fn time "time_t *tloc"
4444.Sh DESCRIPTION
+3-3
lib/libc/gen/times.3
···11-.\" $OpenBSD: times.3,v 1.12 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: times.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TIMES 3
3232.Os
3333.Sh NAME
3434.Nm times
3535.Nd process times
3636.Sh SYNOPSIS
3737-.Fd #include <sys/times.h>
3737+.In sys/times.h
3838.Ft clock_t
3939.Fn times "struct tms *tp"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/timezone.3
···11-.\" $OpenBSD: timezone.3,v 1.14 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: timezone.3,v 1.15 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TIMEZONE 3
3232.Os
3333.Sh NAME
3434.Nm timezone
3535.Nd return the time zone abbreviation
3636.Sh SYNOPSIS
3737-.Fd #include <time.h>
3737+.In time.h
3838.Ft char *
3939.Fn timezone "int zone" "int dst"
4040.Sh DESCRIPTION
···11-.\" $OpenBSD: tolower.3,v 1.12 2012/11/23 22:54:08 guenther Exp $
11+.\" $OpenBSD: tolower.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: November 23 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt TOLOWER 3
3636.Os
3737.Sh NAME
···3939.Nm _tolower
4040.Nd upper case to lower case letter conversion
4141.Sh SYNOPSIS
4242-.Fd #include <ctype.h>
4242+.In ctype.h
4343.Ft int
4444.Fn tolower "int c"
4545.Ft int
+3-3
lib/libc/gen/toupper.3
···11-.\" $OpenBSD: toupper.3,v 1.14 2012/11/23 22:54:08 guenther Exp $
11+.\" $OpenBSD: toupper.3,v 1.15 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: November 23 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt TOUPPER 3
3636.Os
3737.Sh NAME
···3939.Nm _toupper
4040.Nd lower case to upper case letter conversion
4141.Sh SYNOPSIS
4242-.Fd #include <ctype.h>
4242+.In ctype.h
4343.Ft int
4444.Fn toupper "int c"
4545.Ft int
+3-3
lib/libc/gen/ttyname.3
···11-.\" $OpenBSD: ttyname.3,v 1.17 2007/07/03 14:45:34 jmc Exp $
11+.\" $OpenBSD: ttyname.3,v 1.18 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: July 3 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TTYNAME 3
3232.Os
3333.Sh NAME
···3737.Nm ttyslot
3838.Nd get name of associated terminal (tty) from file descriptor
3939.Sh SYNOPSIS
4040-.Fd #include <unistd.h>
4040+.In unistd.h
4141.Ft char *
4242.Fn ttyname "int fd"
4343.Ft int
+3-3
lib/libc/gen/ualarm.3
···11-.\" $OpenBSD: ualarm.3,v 1.15 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: ualarm.3,v 1.16 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1986, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt UALARM 3
3232.Os
3333.Sh NAME
3434.Nm ualarm
3535.Nd schedule signal after specified time
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft useconds_t
3939.Fn ualarm "useconds_t microseconds" "useconds_t interval"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/uname.3
···11-.\" $OpenBSD: uname.3,v 1.13 2011/04/19 22:19:46 schwarze Exp $
11+.\" $OpenBSD: uname.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1994
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: April 19 2011 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt UNAME 3
3232.Os
3333.Sh NAME
3434.Nm uname
3535.Nd get system identification
3636.Sh SYNOPSIS
3737-.Fd #include <sys/utsname.h>
3737+.In sys/utsname.h
3838.Ft int
3939.Fn uname "struct utsname *name"
4040.Sh DESCRIPTION
+3-3
lib/libc/gen/unvis.3
···11-.\" $OpenBSD: unvis.3,v 1.16 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: unvis.3,v 1.17 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt UNVIS 3
3232.Os
3333.Sh NAME
···3636.Nm strnunvis
3737.Nd decode a visual representation of characters
3838.Sh SYNOPSIS
3939-.Fd #include <vis.h>
3939+.In vis.h
4040.Ft int
4141.Fn unvis "char *cp" "char c" "int *astate" "int flag"
4242.Ft int
+3-3
lib/libc/gen/usleep.3
···11-.\" $OpenBSD: usleep.3,v 1.18 2012/10/16 18:35:40 millert Exp $
11+.\" $OpenBSD: usleep.3,v 1.19 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1986, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: October 16 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt USLEEP 3
3232.Os
3333.Sh NAME
3434.Nm usleep
3535.Nd suspend process execution for interval measured in microseconds
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn usleep "useconds_t microseconds"
4040.Sh DESCRIPTION
+4-4
lib/libc/gen/utime.3
···11-.\" $OpenBSD: utime.3,v 1.18 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: utime.3,v 1.19 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt UTIME 3
3232.Os
3333.Sh NAME
3434.Nm utime
3535.Nd set file times
3636.Sh SYNOPSIS
3737-.Fd #include <sys/types.h>
3838-.Fd #include <utime.h>
3737+.In sys/types.h
3838+.In utime.h
3939.Ft int
4040.Fn utime "const char *file" "const struct utimbuf *timep"
4141.Sh DESCRIPTION
+3-3
lib/libc/gen/valloc.3
···11-.\" $OpenBSD: valloc.3,v 1.13 2010/05/18 22:24:55 tedu Exp $
11+.\" $OpenBSD: valloc.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 18 2010 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt VALLOC 3
3232.Os
3333.Sh NAME
3434.Nm valloc
3535.Nd aligned memory allocation function
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft void *
3939.Fn valloc "size_t size"
4040.Sh DESCRIPTION
+4-4
lib/libc/gen/vis.3
···11-.\" $OpenBSD: vis.3,v 1.29 2012/01/16 04:10:36 guenther Exp $
11+.\" $OpenBSD: vis.3,v 1.30 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: January 16 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt VIS 3
3232.Os
3333.Sh NAME
···3737.Nm strvisx
3838.Nd visually encode characters
3939.Sh SYNOPSIS
4040-.Fd #include <stdlib.h>
4141-.Fd #include <vis.h>
4040+.In stdlib.h
4141+.In vis.h
4242.Ft char *
4343.Fn vis "char *dst" "int c" "int flag" "int nextc"
4444.Ft int
+4-4
lib/libc/hash/mdX.3
···66.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
77.\" ----------------------------------------------------------------------------
88.\"
99-.\" $OpenBSD: mdX.3,v 1.13 2012/09/27 11:31:57 jmc Exp $
99+.\" $OpenBSD: mdX.3,v 1.14 2013/06/05 03:39:22 tedu Exp $
1010.\"
1111-.Dd $Mdocdate: September 27 2012 $
1111+.Dd $Mdocdate: June 5 2013 $
1212.Dt MDX 3
1313.Os
1414.Sh NAME
···2323.Nm MDXData
2424.Nd calculate the RSA Data Security, Inc., ``MDX'' message digest
2525.Sh SYNOPSIS
2626-.Fd #include <sys/types.h>
2727-.Fd #include <mdX.h>
2626+.In sys/types.h
2727+.In mdX.h
2828.Ft void
2929.Fn MDXInit "MDX_CTX *context"
3030.Ft void
+4-4
lib/libc/hash/rmd160.3
···11-.\" $OpenBSD: rmd160.3,v 1.30 2010/07/13 07:01:23 jmc Exp $
11+.\" $OpenBSD: rmd160.3,v 1.31 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1717.\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
1818.\" for detailed information about RIPEMD-160.
1919.\"
2020-.Dd $Mdocdate: July 13 2010 $
2020+.Dd $Mdocdate: June 5 2013 $
2121.Dt RMD160 3
2222.Os
2323.Sh NAME
···3232.Nm RMD160Data
3333.Nd calculate the ``RIPEMD-160'' message digest
3434.Sh SYNOPSIS
3535-.Fd #include <sys/types.h>
3636-.Fd #include <rmd160.h>
3535+.In sys/types.h
3636+.In rmd160.h
3737.Ft void
3838.Fn RMD160Init "RMD160_CTX *context"
3939.Ft void
+4-4
lib/libc/hash/sha1.3
···11-.\" $OpenBSD: sha1.3,v 1.38 2012/09/27 11:31:57 jmc Exp $
11+.\" $OpenBSD: sha1.3,v 1.39 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1717.\" See http://csrc.nist.gov/publications/fips/fips180-1/fip180-1.txt
1818.\" for the detailed standard
1919.\"
2020-.Dd $Mdocdate: September 27 2012 $
2020+.Dd $Mdocdate: June 5 2013 $
2121.Dt SHA1 3
2222.Os
2323.Sh NAME
···3232.Nm SHA1Data
3333.Nd calculate the NIST Secure Hash Algorithm
3434.Sh SYNOPSIS
3535-.Fd #include <sys/types.h>
3636-.Fd #include <sha1.h>
3535+.In sys/types.h
3636+.In sha1.h
3737.Ft void
3838.Fn SHA1Init "SHA1_CTX *context"
3939.Ft void
+4-4
lib/libc/hash/sha2.3
···11-.\" $OpenBSD: sha2.3,v 1.18 2013/04/15 15:54:17 millert Exp $
11+.\" $OpenBSD: sha2.3,v 1.19 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···2020.\"
2121.\" See http://www.nist.gov/sha/ for the detailed standard
2222.\"
2323-.Dd $Mdocdate: April 15 2013 $
2323+.Dd $Mdocdate: June 5 2013 $
2424.Dt SHA2 3
2525.Os
2626.Sh NAME
···3535.Nm SHA256Data
3636.Nd calculate the NIST Secure Hash Standard (version 2)
3737.Sh SYNOPSIS
3838-.Fd #include <sys/types.h>
3939-.Fd #include <sha2.h>
3838+.In sys/types.h
3939+.In sha2.h
4040.Ft void
4141.Fn SHA224Init "SHA2_CTX *context"
4242.Ft void
+3-3
lib/libc/locale/btowc.3
···11-.\" $OpenBSD: btowc.3,v 1.2 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: btowc.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: btowc.3,v 1.3 2003/04/16 13:34:40 wiz Exp $
33.\"
44.\" Copyright (c)2003 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt BTOWC 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd convert a single byte character to a wide character
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <wchar.h>
3737+.In wchar.h
3838.Ft wint_t
3939.Fn btowc "int c"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/iswalnum.3
···11-.\" $OpenBSD: iswalnum.3,v 1.4 2011/04/29 11:24:24 stsp Exp $
11+.\" $OpenBSD: iswalnum.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: iswalnum.3,v 1.8 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c) 1991 The Regents of the University of California.
···3434.\"
3535.\" @(#)isalnum.3 5.2 (Berkeley) 6/29/91
3636.\"
3737-.Dd $Mdocdate: April 29 2011 $
3737+.Dd $Mdocdate: June 5 2013 $
3838.Dt ISWALNUM 3
3939.Os
4040.Sh NAME
···5252.Nm iswxdigit
5353.Nd wide-character classification utilities
5454.Sh SYNOPSIS
5555-.Fd #include <wctype.h>
5555+.In wctype.h
5656.Ft int
5757.Fn iswalnum "wint_t wc"
5858.Ft int
+3-3
lib/libc/locale/iswctype.3
···11-.\" $OpenBSD: iswctype.3,v 1.2 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: iswctype.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: iswctype.3,v 1.5 2003/04/16 13:34:40 wiz Exp $
33.\"
44.\" Copyright (c)2003 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt ISWCTYPE 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd test a character for character class identifier
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <wctype.h>
3737+.In wctype.h
3838.Ft int
3939.Fn iswctype "wint_t wc" "wctype_t charclass"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/mblen.3
···11-.\" $OpenBSD: mblen.3,v 1.2 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: mblen.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mblen.3,v 1.4 2003/04/16 13:34:40 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBLEN 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd get number of bytes in a multibyte character
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft int
3939.Fn mblen "const char *s" "size_t n"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/mbrlen.3
···11-.\" $OpenBSD: mbrlen.3,v 1.3 2009/11/09 06:46:28 nicm Exp $
11+.\" $OpenBSD: mbrlen.3,v 1.4 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mbrlen.3,v 1.5 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: November 9 2009 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBRLEN 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd get number of bytes in a multibyte character (restartable)
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <wchar.h>
3737+.In wchar.h
3838.Ft size_t
3939.Fn mbrlen "const char * restrict s" "size_t n" "mbstate_t * restrict ps"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/mbrtowc.3
···11-.\" $OpenBSD: mbrtowc.3,v 1.3 2010/12/05 14:59:49 stsp Exp $
11+.\" $OpenBSD: mbrtowc.3,v 1.4 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mbrtowc.3,v 1.5 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: December 5 2010 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBRTOWC 3
3030.Os
3131.Sh NAME
3232.Nm mbrtowc
3333.Nd converts a multibyte character to a wide character (restartable)
3434.Sh SYNOPSIS
3535-.Fd #include <wchar.h>
3535+.In wchar.h
3636.Ft size_t
3737.Fn mbrtowc "wchar_t * restrict wc" "const char * restrict s" "size_t n" \
3838"mbstate_t * restrict mbs"
+3-3
lib/libc/locale/mbsinit.3
···11-.\" $OpenBSD: mbsinit.3,v 1.2 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: mbsinit.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mbsinit.3,v 1.4 2003/04/16 13:34:40 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBSINIT 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd determines whether the state object is in initial state
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <wchar.h>
3737+.In wchar.h
3838.Ft int
3939.Fn mbsinit "const mbstate_t *ps"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/mbsrtowcs.3
···11-.\" $OpenBSD: mbsrtowcs.3,v 1.4 2012/06/07 19:47:40 matthew Exp $
11+.\" $OpenBSD: mbsrtowcs.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mbsrtowcs.3,v 1.6 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: June 7 2012 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBSRTOWCS 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3636(restartable)
3737.\" ----------------------------------------------------------------------
3838.Sh SYNOPSIS
3939-.Fd #include <wchar.h>
3939+.In wchar.h
4040.Ft size_t
4141.Fn mbsrtowcs "wchar_t * restrict dst" "const char ** restrict src" "size_t len" \
4242"mbstate_t * restrict ps"
+3-3
lib/libc/locale/mbstowcs.3
···11-.\" $OpenBSD: mbstowcs.3,v 1.4 2011/11/16 13:06:21 stsp Exp $
11+.\" $OpenBSD: mbstowcs.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mbstowcs.3,v 1.6 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: November 16 2011 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBSTOWCS 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd converts a multibyte character string to a wide-character string
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft size_t
3939.Fn mbstowcs "wchar_t * restrict pwcs" "const char * restrict s" "size_t n"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/mbtowc.3
···11-.\" $OpenBSD: mbtowc.3,v 1.3 2010/11/20 18:23:19 stsp Exp $
11+.\" $OpenBSD: mbtowc.3,v 1.4 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: mbtowc.3,v 1.5 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: November 20 2010 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt MBTOWC 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd converts a multibyte character to a wide character
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft int
3939.Fn mbtowc "wchar_t * restrict pwc" "const char * restrict s" "size_t n"
4040.Sh DESCRIPTION
+3-3
lib/libc/locale/nl_langinfo.3
···11-.\" $OpenBSD: nl_langinfo.3,v 1.8 2011/03/16 03:13:37 guenther Exp $
11+.\" $OpenBSD: nl_langinfo.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Written by J.T. Conklin <jtc@netbsd.org>.
44.\" Public domain.
55.\"
66-.Dd $Mdocdate: March 16 2011 $
66+.Dd $Mdocdate: June 5 2013 $
77.Dt NL_LANGINFO 3
88.Os
99.Sh NAME
1010.Nm nl_langinfo
1111.Nd get locale information
1212.Sh SYNOPSIS
1313-.Fd #include <langinfo.h>
1313+.In langinfo.h
1414.Ft char *
1515.Fn nl_langinfo "nl_item item"
1616.Sh DESCRIPTION
···11-.\" $OpenBSD: wcrtomb.3,v 1.4 2010/03/26 19:30:41 jmc Exp $
11+.\" $OpenBSD: wcrtomb.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: wcrtomb.3,v 1.4 2003/09/08 17:54:31 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: March 26 2010 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt WCRTOMB 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd converts a wide character to a multibyte character (restartable)
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <wchar.h>
3737+.In wchar.h
3838.Ft size_t
3939.Fn wcrtomb "const char * restrict s" "wchar_t wc" "mbstate_t * restrict ps"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/wcsrtombs.3
···11-.\" $OpenBSD: wcsrtombs.3,v 1.4 2012/06/07 19:47:40 matthew Exp $
11+.\" $OpenBSD: wcsrtombs.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: wcsrtombs.3,v 1.6 2003/09/08 17:54:32 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: June 7 2012 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt WCSRTOMBS 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3636(restartable)
3737.\" ----------------------------------------------------------------------
3838.Sh SYNOPSIS
3939-.Fd #include <wchar.h>
3939+.In wchar.h
4040.Ft size_t
4141.Fn wcsrtombs "const char * restrict dst" "const wchar_t ** restrict src" \
4242"size_t len" "mbstate_t * restrict ps"
+3-3
lib/libc/locale/wcstombs.3
···11-.\" $OpenBSD: wcstombs.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
11+.\" $OpenBSD: wcstombs.3,v 1.5 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: wcstombs.3,v 1.5 2003/09/08 17:54:32 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: September 10 2010 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt WCSTOMBS 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd converts a wide-character string to a multibyte character string
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft size_t
3939.Fn wcstombs "char * restrict s" "const wchar_t * restrict pwcs" "size_t n"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/locale/wctomb.3
···11-.\" $OpenBSD: wctomb.3,v 1.2 2007/05/31 19:19:29 jmc Exp $
11+.\" $OpenBSD: wctomb.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: wctomb.3,v 1.3 2003/04/16 13:34:41 wiz Exp $
33.\"
44.\" Copyright (c)2002 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt WCTOMB 3
3030.Os
3131.Sh NAME
3232.Nm wctomb
3333.Nd converts a wide character to a multibyte character
3434.Sh SYNOPSIS
3535-.Fd #include <stdlib.h>
3535+.In stdlib.h
3636.Ft int
3737.Fn wctomb "char * s" "const wchar_t wchar"
3838.Sh DESCRIPTION
+3-3
lib/libc/locale/wctype.3
···11-.\" $OpenBSD: wctype.3,v 1.2 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: wctype.3,v 1.3 2013/06/05 03:39:22 tedu Exp $
22.\" $NetBSD: wctype.3,v 1.4 2003/04/16 13:34:41 wiz Exp $
33.\"
44.\" Copyright (c)2003 Citrus Project,
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.Dd $Mdocdate: May 31 2007 $
2828+.Dd $Mdocdate: June 5 2013 $
2929.Dt WCTYPE 3
3030.Os
3131.\" ----------------------------------------------------------------------
···3434.Nd get character class identifier by name
3535.\" ----------------------------------------------------------------------
3636.Sh SYNOPSIS
3737-.Fd #include <wctype.h>
3737+.In wctype.h
3838.Ft wctype_t
3939.Fn wctype "const char *charclass"
4040.\" ----------------------------------------------------------------------
+3-3
lib/libc/net/byteorder.3
···11-.\" $OpenBSD: byteorder.3,v 1.17 2012/03/20 06:06:03 dlg Exp $
11+.\" $OpenBSD: byteorder.3,v 1.18 2013/06/05 03:39:22 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: March 20 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt BYTEORDER 3
3232.Os
3333.Sh NAME
···5252.Nm swap16
5353.Nd convert values between different byte orderings
5454.Sh SYNOPSIS
5555-.Fd #include <sys/types.h>
5555+.In sys/types.h
5656.Ft u_int32_t
5757.Fn htonl "u_int32_t host32"
5858.Ft u_int16_t
···11-.\" $OpenBSD: gai_strerror.3,v 1.7 2009/06/02 16:47:50 jasper Exp $
11+.\" $OpenBSD: gai_strerror.3,v 1.8 2013/06/05 03:39:22 tedu Exp $
22.\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 itojun Exp $
33.\"
44.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
···1616.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1717.\" PERFORMANCE OF THIS SOFTWARE.
1818.\"
1919-.Dd $Mdocdate: June 2 2009 $
1919+.Dd $Mdocdate: June 5 2013 $
2020.Dt GAI_STRERROR 3
2121.Os
2222.Sh NAME
2323.Nm gai_strerror
2424.Nd get error message string from EAI_xxx error code
2525.Sh SYNOPSIS
2626-.Fd #include <sys/types.h>
2727-.Fd #include <sys/socket.h>
2828-.Fd #include <netdb.h>
2626+.In sys/types.h
2727+.In sys/socket.h
2828+.In netdb.h
2929.Ft "const char *"
3030.Fn gai_strerror "int ecode"
3131.Sh DESCRIPTION
+5-5
lib/libc/net/getaddrinfo.3
···11-.\" $OpenBSD: getaddrinfo.3,v 1.52 2013/03/31 19:17:47 brad Exp $
11+.\" $OpenBSD: getaddrinfo.3,v 1.53 2013/06/05 03:39:22 tedu Exp $
22.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
33.\"
44.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
···1616.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1717.\" PERFORMANCE OF THIS SOFTWARE.
1818.\"
1919-.Dd $Mdocdate: March 31 2013 $
1919+.Dd $Mdocdate: June 5 2013 $
2020.Dt GETADDRINFO 3
2121.Os
2222.Sh NAME
···2424.Nm freeaddrinfo
2525.Nd host and service name to socket address structure
2626.Sh SYNOPSIS
2727-.Fd #include <sys/types.h>
2828-.Fd #include <sys/socket.h>
2929-.Fd #include <netdb.h>
2727+.In sys/types.h
2828+.In sys/socket.h
2929+.In netdb.h
3030.Ft int
3131.Fn getaddrinfo "const char *hostname" "const char *servname" \
3232 "const struct addrinfo *hints" "struct addrinfo **res"
+3-3
lib/libc/net/gethostbyname.3
···11-.\" $OpenBSD: gethostbyname.3,v 1.25 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: gethostbyname.3,v 1.26 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1987, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETHOSTBYNAME 3
3232.Os
3333.Sh NAME
···4141.Nm herror
4242.Nd get network host entry
4343.Sh SYNOPSIS
4444-.Fd #include <netdb.h>
4444+.In netdb.h
4545.Vt extern int h_errno ;
4646.Ft struct hostent *
4747.Fn gethostbyname "const char *name"
+5-5
lib/libc/net/getifaddrs.3
···11-.\" $OpenBSD: getifaddrs.3,v 1.15 2012/07/13 09:32:23 krw Exp $
11+.\" $OpenBSD: getifaddrs.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
33.\"
44.\" Copyright (c) 1995, 1999
···2121.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2222.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2323.\" SUCH DAMAGE.
2424-.Dd $Mdocdate: July 13 2012 $
2424+.Dd $Mdocdate: June 5 2013 $
2525.Dt GETIFADDRS 3
2626.Os
2727.Sh NAME
2828.Nm getifaddrs
2929.Nd get interface addresses
3030.Sh SYNOPSIS
3131-.Fd #include <sys/types.h>
3232-.Fd #include <sys/socket.h>
3333-.Fd #include <ifaddrs.h>
3131+.In sys/types.h
3232+.In sys/socket.h
3333+.In ifaddrs.h
3434.Ft int
3535.Fn getifaddrs "struct ifaddrs **ifap"
3636.Ft void
+5-5
lib/libc/net/getnameinfo.3
···11-.\" $OpenBSD: getnameinfo.3,v 1.43 2012/09/27 11:31:58 jmc Exp $
11+.\" $OpenBSD: getnameinfo.3,v 1.44 2013/06/05 03:39:23 tedu Exp $
22.\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
33.\"
44.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
···1616.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1717.\" PERFORMANCE OF THIS SOFTWARE.
1818.\"
1919-.Dd $Mdocdate: September 27 2012 $
1919+.Dd $Mdocdate: June 5 2013 $
2020.Dt GETNAMEINFO 3
2121.Os
2222.Sh NAME
2323.Nm getnameinfo
2424.Nd socket address structure to hostname and service name
2525.Sh SYNOPSIS
2626-.Fd #include <sys/types.h>
2727-.Fd #include <sys/socket.h>
2828-.Fd #include <netdb.h>
2626+.In sys/types.h
2727+.In sys/socket.h
2828+.In netdb.h
2929.Ft int
3030.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" "char *host" \
3131 "size_t hostlen" "char *serv" "size_t servlen" "int flags"
+3-3
lib/libc/net/getnetent.3
···11-.\" $OpenBSD: getnetent.3,v 1.15 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: getnetent.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETNETENT 3
3232.Os
3333.Sh NAME
···3838.Nm endnetent
3939.Nd get network entry
4040.Sh SYNOPSIS
4141-.Fd #include <netdb.h>
4141+.In netdb.h
4242.Ft struct netent *
4343.Fn getnetent "void"
4444.Ft struct netent *
+4-4
lib/libc/net/getpeereid.3
···11-.\" $OpenBSD: getpeereid.3,v 1.2 2012/04/22 02:21:49 matthew Exp $
11+.\" $OpenBSD: getpeereid.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2626.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929-.Dd $Mdocdate: April 22 2012 $
2929+.Dd $Mdocdate: June 5 2013 $
3030.Dt GETPEEREID 3
3131.Os
3232.Sh NAME
3333.Nm getpeereid
3434.Nd get effective user and group identification of locally-connected peer
3535.Sh SYNOPSIS
3636-.Fd #include <sys/types.h>
3737-.Fd #include <sys/socket.h>
3636+.In sys/types.h
3737+.In sys/socket.h
3838.Ft int
3939.Fn getpeereid "int s" "uid_t *euid" "gid_t *egid"
4040.Sh DESCRIPTION
+3-3
lib/libc/net/getprotoent.3
···11-.\" $OpenBSD: getprotoent.3,v 1.17 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: getprotoent.3,v 1.18 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETPROTOENT 3
3232.Os
3333.Sh NAME
···4343.Nm endprotoent_r
4444.Nd get protocol entry
4545.Sh SYNOPSIS
4646-.Fd #include <netdb.h>
4646+.In netdb.h
4747.Ft struct protoent *
4848.Fn getprotoent "void"
4949.Ft int
+3-3
lib/libc/net/getrrsetbyname.3
···11-.\" $OpenBSD: getrrsetbyname.3,v 1.15 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: getrrsetbyname.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (C) 2000, 2001 Internet Software Consortium.
44.\"
···1515.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
1616.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717.\"
1818-.Dd $Mdocdate: May 31 2007 $
1818+.Dd $Mdocdate: June 5 2013 $
1919.Dt GETRRSETBYNAME 3
2020.Os
2121.Sh NAME
···2323.Nm getrrsetbyname
2424.Nd retrieve DNS records
2525.Sh SYNOPSIS
2626-.Fd #include <netdb.h>
2626+.In netdb.h
2727.Ft int
2828.Fn getrrsetbyname "const char *hostname" "unsigned int rdclass" \
2929"unsigned int rdtype" "unsigned int flags" "struct rrsetinfo **res"
+3-3
lib/libc/net/getservent.3
···11-.\" $OpenBSD: getservent.3,v 1.20 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: getservent.3,v 1.21 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETSERVENT 3
3232.Os
3333.Sh NAME
···4343.Nm endservent_r
4444.Nd get service entry
4545.Sh SYNOPSIS
4646-.Fd #include <netdb.h>
4646+.In netdb.h
4747.Ft struct servent *
4848.Fn getservent "void"
4949.Ft int
+5-5
lib/libc/net/if_indextoname.3
···11-.\" $OpenBSD: if_indextoname.3,v 1.13 2012/09/27 11:31:58 jmc Exp $
11+.\" $OpenBSD: if_indextoname.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
22.\" Copyright (c) 1983, 1991, 1993
33.\" The Regents of the University of California. All rights reserved.
44.\"
···2828.\"
2929.\" From: @(#)rcmd.3 8.1 (Berkeley) 6/4/93
3030.\"
3131-.Dd $Mdocdate: September 27 2012 $
3131+.Dd $Mdocdate: June 5 2013 $
3232.Dt IF_NAMETOINDEX 3
3333.Os
3434.Sh NAME
···3838.Nm if_freenameindex
3939.Nd convert interface index to name, and vice versa
4040.Sh SYNOPSIS
4141-.Fd #include <sys/types.h>
4242-.Fd #include <sys/socket.h>
4343-.Fd #include <net/if.h>
4141+.In sys/types.h
4242+.In sys/socket.h
4343+.In net/if.h
4444.Ft "unsigned int"
4545.Fn if_nametoindex "const char *ifname"
4646.Ft "char *"
···11-.\" $OpenBSD: inet_net.3,v 1.15 2012/06/24 18:06:42 gilles Exp $
11+.\" $OpenBSD: inet_net.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
33.\"
44.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
···2828.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2929.\" POSSIBILITY OF SUCH DAMAGE.
3030.\"
3131-.Dd $Mdocdate: June 24 2012 $
3131+.Dd $Mdocdate: June 5 2013 $
3232.Dt INET_NET 3
3333.Os
3434.Sh NAME
···3636.Nm inet_net_pton
3737.Nd Internet network number manipulation routines
3838.Sh SYNOPSIS
3939-.Fd #include <sys/types.h>
4040-.Fd #include <sys/socket.h>
4141-.Fd #include <netinet/in.h>
4242-.Fd #include <arpa/inet.h>
3939+.In sys/types.h
4040+.In sys/socket.h
4141+.In netinet/in.h
4242+.In arpa/inet.h
4343.Ft char *
4444.Fn inet_net_ntop "int af" "const void *src" "int bits" "char *dst" "size_t size"
4545.Ft int
+5-5
lib/libc/net/link_addr.3
···11-.\" $OpenBSD: link_addr.3,v 1.12 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: link_addr.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1993
44.\" The Regents of the University of California. All rights reserved.
···3030.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3131.\" SUCH DAMAGE.
3232.\"
3333-.Dd $Mdocdate: May 31 2007 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt LINK_ADDR 3
3535.Os
3636.Sh NAME
···3838.Nm link_ntoa
3939.Nd elementary address specification routines for link level access
4040.Sh SYNOPSIS
4141-.Fd #include <sys/types.h>
4242-.Fd #include <sys/socket.h>
4343-.Fd #include <net/if_dl.h>
4141+.In sys/types.h
4242+.In sys/socket.h
4343+.In net/if_dl.h
4444.Ft void
4545.Fn link_addr "const char *addr" "struct sockaddr_dl *sdl"
4646.Ft char *
+3-3
lib/libc/net/rcmd.3
···11-.\" $OpenBSD: rcmd.3,v 1.27 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: rcmd.3,v 1.28 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt RCMD 3
3232.Os
3333.Sh NAME
···4040.Nm iruserok_sa
4141.Nd routines for returning a stream to a remote command
4242.Sh SYNOPSIS
4343-.Fd #include <unistd.h>
4343+.In unistd.h
4444.Ft int
4545.Fn rcmd "char **ahost" "int inport" "const char *locuser" "const char *remuser" "const char *cmd" "int *fd2p"
4646.Ft int
+3-3
lib/libc/net/rcmdsh.3
···11-.\" $OpenBSD: rcmdsh.3,v 1.13 2009/12/29 10:25:43 sobrado Exp $
11+.\" $OpenBSD: rcmdsh.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1983, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: December 29 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt RCMDSH 3
3232.Os
3333.Sh NAME
3434.Nm rcmdsh
3535.Nd return a stream to a remote command without superuser
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft int
3939.Fn rcmdsh "char **ahost" "int inport" "const char *locuser" "const char *remuser" "const char *cmd" "char *rshprog"
4040.Sh DESCRIPTION
+6-6
lib/libc/net/resolver.3
···11-.\" $OpenBSD: resolver.3,v 1.27 2012/12/12 14:48:18 jmc Exp $
11+.\" $OpenBSD: resolver.3,v 1.28 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1985, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: December 12 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt RESOLVER 3
3232.Os
3333.Sh NAME
···4040.Nm dn_expand
4141.Nd resolver routines
4242.Sh SYNOPSIS
4343-.Fd #include <sys/types.h>
4444-.Fd #include <netinet/in.h>
4545-.Fd #include <arpa/nameser.h>
4646-.Fd #include <resolv.h>
4343+.In sys/types.h
4444+.In netinet/in.h
4545+.In arpa/nameser.h
4646+.In resolv.h
4747.Ft int
4848.Fo res_query
4949.Fa "const char *dname"
+3-3
lib/libc/nls/catclose.3
···11-.\" $OpenBSD: catclose.3,v 1.6 2007/05/31 19:19:30 jmc Exp $
11+.\" $OpenBSD: catclose.3,v 1.7 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Written by J.T. Conklin <jtc@netbsd.org>.
44.\" Public domain.
55.\"
66-.Dd $Mdocdate: May 31 2007 $
66+.Dd $Mdocdate: June 5 2013 $
77.Dt CATCLOSE 3
88.Os
99.Sh NAME
1010.Nm catclose
1111.Nd close message catalog
1212.Sh SYNOPSIS
1313-.Fd #include <nl_types.h>
1313+.In nl_types.h
1414.Ft int
1515.Fn catclose "nl_catd catd"
1616.Sh DESCRIPTION
···11-.\" $OpenBSD: ohash_init.3,v 1.16 2012/06/01 02:49:07 lteo Exp $
11+.\" $OpenBSD: ohash_init.3,v 1.17 2013/06/05 03:39:23 tedu Exp $
22.\" Copyright (c) 1999 Marc Espie <espie@openbsd.org>
33.\"
44.\" Permission to use, copy, modify, and distribute this software for any
···1313.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1414.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1515.\"
1616-.Dd $Mdocdate: June 1 2012 $
1616+.Dd $Mdocdate: June 5 2013 $
1717.Dt OHASH_INIT 3
1818.Os
1919.Sh NAME
···2929.Nm ohash_entries
3030.Nd light-weight open hashing
3131.Sh SYNOPSIS
3232-.Fd #include <stdint.h>
3333-.Fd #include <stddef.h>
3434-.Fd #include <ohash.h>
3232+.In stdint.h
3333+.In stddef.h
3434+.In ohash.h
3535.Ft void
3636.Fn ohash_init "struct ohash *h" "unsigned int size" "struct ohash_info *info"
3737.Ft void
+5-5
lib/libc/ohash/ohash_interval.3
···11-.\" $OpenBSD: ohash_interval.3,v 1.13 2012/09/23 15:05:23 espie Exp $
11+.\" $OpenBSD: ohash_interval.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
22.\" Copyright (c) 2001 Marc Espie <espie@openbsd.org>
33.\"
44.\" Permission to use, copy, modify, and distribute this software for any
···1313.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1414.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1515.\"
1616-.Dd $Mdocdate: September 23 2012 $
1616+.Dd $Mdocdate: June 5 2013 $
1717.Dt OHASH_INTERVAL 3
1818.Os
1919.Sh NAME
···2323.Nm ohash_qlookupi
2424.Nd helper functions for open hashing
2525.Sh SYNOPSIS
2626-.Fd #include <stdint.h>
2727-.Fd #include <stddef.h>
2828-.Fd #include <ohash.h>
2626+.In stdint.h
2727+.In stddef.h
2828+.In ohash.h
2929.Ft uint32_t
3030.Fn ohash_interval "const char *start" "const char **pend"
3131.Ft "void *"
···11-.\" $OpenBSD: authnone_create.3,v 1.2 2012/09/27 11:31:58 jmc Exp $
11+.\" $OpenBSD: authnone_create.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998
33.\"
44.\" Copyright (c) 2010, Oracle America, Inc.
···3030.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3131.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3232.\"
3333-.Dd $Mdocdate: September 27 2012 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt AUTHNONE_CREATE 3
3535.Os
3636.Sh NAME
···4141.Nm set_rpc_maxgrouplist
4242.Nd library routines for remote procedure calls
4343.Sh SYNOPSIS
4444-.Fd #include <rpc/rpc.h>
4444+.In rpc/rpc.h
4545.Ft void
4646.Fn auth_destroy "AUTH *auth"
4747.Ft AUTH *
+4-4
lib/libc/rpc/bindresvport.3
···11-.\" $OpenBSD: bindresvport.3,v 1.24 2010/09/07 19:52:37 schwarze Exp $
11+.\" $OpenBSD: bindresvport.3,v 1.25 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 2010, Oracle America, Inc.
44.\"
···2929.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3030.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131.\"
3232-.Dd $Mdocdate: September 7 2010 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt BINDRESVPORT 3
3434.Os
3535.Sh NAME
···3737.Nm bindresvport_sa
3838.Nd bind a socket to a privileged IP port
3939.Sh SYNOPSIS
4040-.Fd #include <sys/types.h>
4141-.Fd #include <netinet/in.h>
4040+.In sys/types.h
4141+.In netinet/in.h
4242.Ft int
4343.Fn bindresvport "int sd" "struct sockaddr_in *sin"
4444.Ft int
+3-3
lib/libc/rpc/getrpcent.3
···11-.\" $OpenBSD: getrpcent.3,v 1.12 2010/09/01 14:43:34 millert Exp $
11+.\" $OpenBSD: getrpcent.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 2010, Oracle America, Inc.
44.\"
···2929.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3030.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131.\"
3232-.Dd $Mdocdate: September 1 2010 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt GETRPCENT 3
3434.Os
3535.Sh NAME
···4040.Nm setrpcent
4141.Nd get RPC entry
4242.Sh SYNOPSIS
4343-.Fd #include <rpc/rpc.h>
4343+.In rpc/rpc.h
4444.Ft struct rpcent *
4545.Fn getrpcent void
4646.Ft struct rpcent *
+3-3
lib/libc/rpc/getrpcport.3
···11-.\" $OpenBSD: getrpcport.3,v 1.9 2010/09/01 14:43:34 millert Exp $
11+.\" $OpenBSD: getrpcport.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 2010, Oracle America, Inc.
44.\"
···2929.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3030.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131.\"
3232-.Dd $Mdocdate: September 1 2010 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt GETRPCPORT 3
3434.Os
3535.Sh NAME
3636.Nm getrpcport
3737.Nd get RPC port number
3838.Sh SYNOPSIS
3939-.Fd #include <rpc/rpc.h>
3939+.In rpc/rpc.h
4040.Ft int
4141.Fn getrpcport "char *host" "int prognum" "int versnum" "int proto"
4242.Sh DESCRIPTION
+3-3
lib/libc/rpc/rpc.3
···11-.\" $OpenBSD: rpc.3,v 1.45 2012/09/27 11:31:58 jmc Exp $
11+.\" $OpenBSD: rpc.3,v 1.46 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1998 Theo de Raadt
44.\" All rights reserved.
···5252.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
5353.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5454.\"
5555-.Dd $Mdocdate: September 27 2012 $
5555+.Dd $Mdocdate: June 5 2013 $
5656.Dt RPC 3
5757.Os
5858.Sh NAME
···124124.Nm xprt_unregister
125125.Nd library routines for remote procedure calls
126126.Sh SYNOPSIS
127127-.Fd #include <rpc/rpc.h>
127127+.In rpc/rpc.h
128128.Ft int
129129.Fn callrpc "char *host" "u_long prognum" "u_long versnum" "u_long procnum" "xdrproc_t inproc" "char *in" "xdrproc_t outproc" "char *out"
130130.Ft "enum clnt_stat"
+4-4
lib/libc/rpc/xdr.3
···11-.\" $OpenBSD: xdr.3,v 1.23 2012/09/27 11:31:58 jmc Exp $
11+.\" $OpenBSD: xdr.3,v 1.24 2013/06/05 03:39:23 tedu Exp $
22.\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998
33.\"
44.\" Copyright (c) 2010, Oracle America, Inc.
···3030.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3131.\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3232.\"
3333-.Dd $Mdocdate: September 27 2012 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt XDR 3
3535.Os
3636.Sh NAME
···7171.Nm xdr_wrapstring
7272.Nd library routines for external data representation
7373.Sh SYNOPSIS
7474-.Fd #include <sys/types.h>
7575-.Fd #include <rpc/xdr.h>
7474+.In sys/types.h
7575+.In rpc/xdr.h
7676.Ft int
7777.Fn xdr_array "XDR *xdrs" "char **arrp" "u_int *sizep" "u_int maxsize" "u_int elsize" "xdrproc_t elproc"
7878.Ft int
+3-3
lib/libc/stdio/fclose.3
···11-.\" $OpenBSD: fclose.3,v 1.6 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: fclose.3,v 1.7 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FCLOSE 3
3636.Os
3737.Sh NAME
3838.Nm fclose
3939.Nd close a stream
4040.Sh SYNOPSIS
4141-.Fd #include <stdio.h>
4141+.In stdio.h
4242.Ft int
4343.Fn fclose "FILE *stream"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdio/ferror.3
···11-.\" $OpenBSD: ferror.3,v 1.8 2009/01/29 16:37:16 jmc Exp $
11+.\" $OpenBSD: ferror.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: January 29 2009 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FERROR 3
3636.Os
3737.Sh NAME
···4141.Nm fileno
4242.Nd check and reset stream status
4343.Sh SYNOPSIS
4444-.Fd #include <stdio.h>
4444+.In stdio.h
4545.Ft void
4646.Fn clearerr "FILE *stream"
4747.Ft int
+3-3
lib/libc/stdio/fflush.3
···11-.\" $OpenBSD: fflush.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: fflush.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FFLUSH 3
3636.Os
3737.Sh NAME
···3939.Nm fpurge
4040.Nd flush a stream
4141.Sh SYNOPSIS
4242-.Fd #include <stdio.h>
4242+.In stdio.h
4343.Ft int
4444.Fn fflush "FILE *stream"
4545.Ft int
+3-3
lib/libc/stdio/fgetln.3
···11-.\" $OpenBSD: fgetln.3,v 1.15 2007/06/21 13:47:07 moritz Exp $
11+.\" $OpenBSD: fgetln.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 21 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt FGETLN 3
3232.Os
3333.Sh NAME
3434.Nm fgetln
3535.Nd get a line from a stream
3636.Sh SYNOPSIS
3737-.Fd #include <stdio.h>
3737+.In stdio.h
3838.Ft char *
3939.Fn fgetln "FILE *stream" "size_t *len"
4040.Sh DESCRIPTION
+3-3
lib/libc/stdio/fgets.3
···11-.\" $OpenBSD: fgets.3,v 1.29 2009/06/02 22:28:18 ray Exp $
11+.\" $OpenBSD: fgets.3,v 1.30 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: June 2 2009 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FGETS 3
3636.Os
3737.Sh NAME
···3939.Nm gets
4040.Nd get a line from a stream
4141.Sh SYNOPSIS
4242-.Fd #include <stdio.h>
4242+.In stdio.h
4343.Ft char *
4444.Fn fgets "char *str" "int size" "FILE *stream"
4545.Ft char *
+3-3
lib/libc/stdio/fmemopen.3
···11-.\" $OpenBSD: fmemopen.3,v 1.3 2013/03/28 09:37:55 mpi Exp $
11+.\" $OpenBSD: fmemopen.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
22.\" $NetBSD: fmemopen.3,v 1.5 2010/10/07 00:14:14 enami Exp $
33.\"
44.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
···3535.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3636.\" POSSIBILITY OF SUCH DAMAGE.
3737.\"
3838-.Dd $Mdocdate: March 28 2013 $
3838+.Dd $Mdocdate: June 5 2013 $
3939.Dt FMEMOPEN 3
4040.Os
4141.Sh NAME
4242.Nm fmemopen
4343.Nd open a stream that points to the given buffer
4444.Sh SYNOPSIS
4545-.Fd #include <stdio.h>
4545+.In stdio.h
4646.Ft FILE *
4747.Fn fmemopen "void *buffer" "size_t size" "const char *mode"
4848.Sh DESCRIPTION
+3-3
lib/libc/stdio/fopen.3
···11-.\" $OpenBSD: fopen.3,v 1.26 2012/10/03 06:27:14 jmc Exp $
11+.\" $OpenBSD: fopen.3,v 1.27 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: October 3 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FOPEN 3
3636.Os
3737.Sh NAME
···4040.Nm freopen
4141.Nd stream open functions
4242.Sh SYNOPSIS
4343-.Fd #include <stdio.h>
4343+.In stdio.h
4444.Ft FILE *
4545.Fn fopen "const char *path" "const char *mode"
4646.Ft FILE *
+3-3
lib/libc/stdio/fputs.3
···11-.\" $OpenBSD: fputs.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: fputs.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FPUTS 3
3636.Os
3737.Sh NAME
···3939.Nm puts
4040.Nd output a line to a stream
4141.Sh SYNOPSIS
4242-.Fd #include <stdio.h>
4242+.In stdio.h
4343.Ft int
4444.Fn fputs "const char *str" "FILE *stream"
4545.Ft int
+3-3
lib/libc/stdio/fread.3
···11-.\" $OpenBSD: fread.3,v 1.5 2009/07/12 18:45:21 millert Exp $
11+.\" $OpenBSD: fread.3,v 1.6 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 12 2009 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FREAD 3
3636.Os
3737.Sh NAME
···3939.Nm fwrite
4040.Nd binary stream input/output
4141.Sh SYNOPSIS
4242-.Fd #include <stdio.h>
4242+.In stdio.h
4343.Ft size_t
4444.Fn fread "void *ptr" "size_t size" "size_t nmemb" "FILE *stream"
4545.Ft size_t
+3-3
lib/libc/stdio/fseek.3
···11-.\" $OpenBSD: fseek.3,v 1.14 2012/05/22 23:43:40 matthew Exp $
11+.\" $OpenBSD: fseek.3,v 1.15 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 22 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt FSEEK 3
3636.Os
3737.Sh NAME
···4444.Nm rewind
4545.Nd reposition a stream
4646.Sh SYNOPSIS
4747-.Fd #include <stdio.h>
4747+.In stdio.h
4848.Ft int
4949.Fn fgetpos "FILE *stream" "fpos_t *pos"
5050.Ft int
+3-3
lib/libc/stdio/funopen.3
···11-.\" $OpenBSD: funopen.3,v 1.14 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: funopen.3,v 1.15 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.Dd $Mdocdate: May 31 2007 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt FUNOPEN 3
3434.Os
3535.Sh NAME
···3838.Nm fwopen
3939.Nd open a stream
4040.Sh SYNOPSIS
4141-.Fd #include <stdio.h>
4141+.In stdio.h
4242.Ft FILE *
4343.Fn funopen "const void *cookie" "int (*readfn)(void *, char *, int)" \
4444 "int (*writefn)(void *, const char *, int)" \
+3-3
lib/libc/stdio/getc.3
···11-.\" $OpenBSD: getc.3,v 1.13 2012/01/15 21:03:05 schwarze Exp $
11+.\" $OpenBSD: getc.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: January 15 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt GETC 3
3636.Os
3737.Sh NAME
···4141.Nm getw
4242.Nd get next character or word from input stream
4343.Sh SYNOPSIS
4444-.Fd #include <stdio.h>
4444+.In stdio.h
4545.Ft int
4646.Fn fgetc "FILE *stream"
4747.Ft int
+3-3
lib/libc/stdio/mktemp.3
···11-.\" $OpenBSD: mktemp.3,v 1.50 2013/03/12 16:47:11 guenther Exp $
11+.\" $OpenBSD: mktemp.3,v 1.51 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: March 12 2013 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt MKTEMP 3
3232.Os
3333.Sh NAME
···3737.Nm mkdtemp
3838.Nd make temporary file name (unique)
3939.Sh SYNOPSIS
4040-.Fd #include <stdlib.h>
4040+.In stdlib.h
4141.Ft char *
4242.Fn mktemp "char *template"
4343.Ft int
+4-4
lib/libc/stdio/open_memstream.3
···11-.\" $OpenBSD: open_memstream.3,v 1.3 2013/03/28 09:37:55 mpi Exp $
11+.\" $OpenBSD: open_memstream.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: March 28 2013 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt OPEN_MEMSTREAM 3
1919.Os
2020.Sh NAME
···2222.Nm open_wmemstream
2323.Nd open a memory buffer stream
2424.Sh SYNOPSIS
2525-.Fd #include <stdio.h>
2525+.In stdio.h
2626.Ft FILE *
2727.Fn open_memstream "char **pbuf" "size_t *psize"
2828-.Fd #include <wchar.h>
2828+.In wchar.h
2929.Ft FILE *
3030.Fn open_wmemstream "wchar_t **pbuf" "size_t *psize"
3131.Sh DESCRIPTION
+3-3
lib/libc/stdio/perror.3
···11-.\" $OpenBSD: perror.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: perror.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991 Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt PERROR 3
3636.Os
3737.Sh NAME
3838.Nm perror
3939.Nd write error messages to standard error
4040.Sh SYNOPSIS
4141-.Fd #include <stdio.h>
4141+.In stdio.h
4242.Ft void
4343.Fn perror "const char *string"
4444.Sh DESCRIPTION
+5-5
lib/libc/stdio/printf.3
···11-.\" $OpenBSD: printf.3,v 1.62 2013/04/01 20:16:31 guenther Exp $
11+.\" $OpenBSD: printf.3,v 1.63 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3333.\"
3434.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
3535.\"
3636-.Dd $Mdocdate: April 1 2013 $
3636+.Dd $Mdocdate: June 5 2013 $
3737.Dt PRINTF 3
3838.Os
3939.Sh NAME
···5151.Nm vdprintf
5252.Nd formatted output conversion
5353.Sh SYNOPSIS
5454-.Fd #include <stdio.h>
5454+.In stdio.h
5555.Ft int
5656.Fn printf "const char *format" ...
5757.Ft int
···6464.Fn asprintf "char **ret" "const char *format" ...
6565.Ft int
6666.Fn dprintf "int fd" "const char * restrict format" ...
6767-.Fd #include <stdarg.h>
6868-.Fd #include <stdio.h>
6767+.In stdarg.h
6868+.In stdio.h
6969.Ft int
7070.Fn vprintf "const char *format" "va_list ap"
7171.Ft int
+3-3
lib/libc/stdio/putc.3
···11-.\" $OpenBSD: putc.3,v 1.10 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: putc.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt PUTC 3
3636.Os
3737.Sh NAME
···4141.Nm putw
4242.Nd output a character or word to a stream
4343.Sh SYNOPSIS
4444-.Fd #include <stdio.h>
4444+.In stdio.h
4545.Ft int
4646.Fn fputc "int c" "FILE *stream"
4747.Ft int
+3-3
lib/libc/stdio/remove.3
···11-.\" $OpenBSD: remove.3,v 1.11 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: remove.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3333.\"
3434.\" @(#)remove.3 8.1 (Berkeley) 6/4/93
3535.\"
3636-.Dd $Mdocdate: May 31 2007 $
3636+.Dd $Mdocdate: June 5 2013 $
3737.Dt REMOVE 3
3838.Os
3939.Sh NAME
4040.Nm remove
4141.Nd remove a file or directory
4242.Sh SYNOPSIS
4343-.Fd #include <stdio.h>
4343+.In stdio.h
4444.Ft int
4545.Fn remove "const char *path"
4646.Sh DESCRIPTION
+3-3
lib/libc/stdio/setbuf.3
···11-.\" $OpenBSD: setbuf.3,v 1.12 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: setbuf.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1980, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt SETBUF 3
3636.Os
3737.Sh NAME
···4141.Nm setvbuf
4242.Nd stream buffering operations
4343.Sh SYNOPSIS
4444-.Fd #include <stdio.h>
4444+.In stdio.h
4545.Ft void
4646.Fn setbuf "FILE *stream" "char *buf"
4747.Ft void
+3-3
lib/libc/stdio/stdio.3
···11-.\" $OpenBSD: stdio.3,v 1.26 2013/03/04 01:50:01 brad Exp $
11+.\" $OpenBSD: stdio.3,v 1.27 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: March 4 2013 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt STDIO 3
3232.Os
3333.Sh NAME
3434.Nm stdio
3535.Nd standard input/output library functions
3636.Sh SYNOPSIS
3737-.Fd #include <stdio.h>
3737+.In stdio.h
3838.Pp
3939.Fd FILE *stdin;
4040.Fd FILE *stdout;
+3-3
lib/libc/stdio/tmpnam.3
···11-.\" $OpenBSD: tmpnam.3,v 1.17 2012/09/07 05:37:06 jmc Exp $
11+.\" $OpenBSD: tmpnam.3,v 1.18 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1988, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: September 7 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt TMPFILE 3
3636.Os
3737.Sh NAME
···4040.Nm tmpnam
4141.Nd temporary file routines
4242.Sh SYNOPSIS
4343-.Fd #include <stdio.h>
4343+.In stdio.h
4444.Ft FILE *
4545.Fn tmpfile void
4646.Ft char *
+3-3
lib/libc/stdio/ungetc.3
···11-.\" $OpenBSD: ungetc.3,v 1.7 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: ungetc.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt UNGETC 3
3636.Os
3737.Sh NAME
3838.Nm ungetc
3939.Nd un-get character from input stream
4040.Sh SYNOPSIS
4141-.Fd #include <stdio.h>
4141+.In stdio.h
4242.Ft int
4343.Fn ungetc "int c" "FILE *stream"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/a64l.3
···11-.\" $OpenBSD: a64l.3,v 1.11 2010/04/01 17:06:55 jmc Exp $
11+.\" $OpenBSD: a64l.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: April 1 2010 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt A64L 3
1919.Os
2020.Sh NAME
···2222.Nm l64a
2323.Nd convert between 32-bit integer and radix-64 ASCII string
2424.Sh SYNOPSIS
2525-.Fd #include <stdlib.h>
2525+.In stdlib.h
2626.Ft long
2727.Fn a64l "const char *s"
2828.Ft char *
+3-3
lib/libc/stdlib/abort.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: abort.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: abort.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ABORT 3
3636.Os
3737.Sh NAME
3838.Nm abort
3939.Nd cause abnormal program termination
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft void
4343.Fn abort void
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/abs.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: abs.3,v 1.9 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: abs.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ABS 3
3636.Os
3737.Sh NAME
3838.Nm abs
3939.Nd integer absolute value function
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft int
4343.Fn abs "int j"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/alloca.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: alloca.3,v 1.12 2012/04/12 15:46:57 deraadt Exp $
2828+.\" $OpenBSD: alloca.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: April 12 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt ALLOCA 3
3232.Os
3333.Sh NAME
3434.Nm alloca
3535.Nd memory allocator
3636.Sh SYNOPSIS
3737-.Fd #include <stdlib.h>
3737+.In stdlib.h
3838.Ft void *
3939.Fn alloca "size_t size"
4040.Sh DESCRIPTION
+3-3
lib/libc/stdlib/atexit.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: atexit.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: atexit.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ATEXIT 3
3636.Os
3737.Sh NAME
3838.Nm atexit
3939.Nd register a function to be called on exit
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft int
4343.Fn atexit "void (*function)(void)"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/atof.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: atof.3,v 1.5 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: atof.3,v 1.6 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ATOF 3
3636.Os
3737.Sh NAME
···4040.Tn ASCII
4141string to double
4242.Sh SYNOPSIS
4343-.Fd #include <stdlib.h>
4343+.In stdlib.h
4444.Ft double
4545.Fn atof "const char *nptr"
4646.Sh DESCRIPTION
+3-3
lib/libc/stdlib/atoi.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: atoi.3,v 1.9 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: atoi.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ATOI 3
3636.Os
3737.Sh NAME
···4040.Tn ASCII
4141string to integer
4242.Sh SYNOPSIS
4343-.Fd #include <stdlib.h>
4343+.In stdlib.h
4444.Ft int
4545.Fn atoi "const char *nptr"
4646.Sh DESCRIPTION
+3-3
lib/libc/stdlib/atol.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: atol.3,v 1.7 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: atol.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ATOL 3
3636.Os
3737.Sh NAME
···4040.Tn ASCII
4141string to long integer
4242.Sh SYNOPSIS
4343-.Fd #include <stdlib.h>
4343+.In stdlib.h
4444.Ft long
4545.Fn atol "const char *nptr"
4646.Sh DESCRIPTION
+3-3
lib/libc/stdlib/atoll.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: atoll.3,v 1.5 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: atoll.3,v 1.6 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt ATOLL 3
3636.Os
3737.Sh NAME
···4040.Tn ASCII
4141string to long long integer
4242.Sh SYNOPSIS
4343-.Fd #include <stdlib.h>
4343+.In stdlib.h
4444.Ft long long
4545.Fn atoll "const char *nptr"
4646.Sh DESCRIPTION
+3-3
lib/libc/stdlib/bsearch.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: bsearch.3,v 1.8 2012/07/08 10:25:55 guenther Exp $
3232+.\" $OpenBSD: bsearch.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 8 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt BSEARCH 3
3636.Os
3737.Sh NAME
3838.Nm bsearch
3939.Nd binary search of a sorted table
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft void *
4343.Fn bsearch "const void *key" "const void *base" "size_t nmemb" "size_t size" "int (*compar)(const void *, const void *)"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/div.3
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.\" $OpenBSD: div.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
3030+.\" $OpenBSD: div.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
3131.\"
3232-.Dd $Mdocdate: July 7 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt DIV 3
3434.Os
3535.Sh NAME
3636.Nm div
3737.Nd return quotient and remainder from division
3838.Sh SYNOPSIS
3939-.Fd #include <stdlib.h>
3939+.In stdlib.h
4040.Ft div_t
4141.Fn div "int num" "int denom"
4242.Sh DESCRIPTION
+3-3
lib/libc/stdlib/ecvt.3
···11-.\" $OpenBSD: ecvt.3,v 1.10 2012/06/01 01:01:57 guenther Exp $
11+.\" $OpenBSD: ecvt.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1818.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
1919.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
2020.\"
2121-.Dd $Mdocdate: June 1 2012 $
2121+.Dd $Mdocdate: June 5 2013 $
2222.Dt ECVT 3
2323.Os
2424.Sh NAME
···2929.Tn ASCII
3030string
3131.Sh SYNOPSIS
3232-.Fd #include <stdlib.h>
3232+.In stdlib.h
3333.Ft char *
3434.Fn ecvt "double value" "int ndigit" "int *decpt" "int *sign"
3535.Ft char *
+3-3
lib/libc/stdlib/exit.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: exit.3,v 1.12 2011/11/17 14:26:14 schwarze Exp $
3232+.\" $OpenBSD: exit.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: November 17 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt EXIT 3
3636.Os
3737.Sh NAME
3838.Nm exit, _Exit
3939.Nd perform normal program termination
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft void
4343.Fn exit "int status"
4444.Ft void
+3-3
lib/libc/stdlib/getenv.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: getenv.3,v 1.18 2012/09/23 16:08:04 jeremy Exp $
3232+.\" $OpenBSD: getenv.3,v 1.19 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: September 23 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt GETENV 3
3636.Os
3737.Sh NAME
···4141.Nm unsetenv
4242.Nd environment variable functions
4343.Sh SYNOPSIS
4444-.Fd #include <stdlib.h>
4444+.In stdlib.h
4545.Ft char *
4646.Fn getenv "const char *name"
4747.Ft int
+3-3
lib/libc/stdlib/getopt.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: getopt.3,v 1.42 2011/03/05 22:10:11 guenther Exp $
2828+.\" $OpenBSD: getopt.3,v 1.43 2013/06/05 03:39:23 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: March 5 2011 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt GETOPT 3
3232.Os
3333.Sh NAME
3434.Nm getopt
3535.Nd get option character from command line argument list
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Vt extern char *optarg;
3939.Vt extern int opterr;
4040.Vt extern int optind;
+3-3
lib/libc/stdlib/getopt_long.3
···11-.\" $OpenBSD: getopt_long.3,v 1.19 2011/03/21 13:41:50 espie Exp $
11+.\" $OpenBSD: getopt_long.3,v 1.20 2013/06/05 03:39:23 tedu Exp $
22.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $
33.\"
44.\" Copyright (c) 1988, 1991, 1993
···3030.\"
3131.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
3232.\"
3333-.Dd $Mdocdate: March 21 2011 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt GETOPT_LONG 3
3535.Os
3636.Sh NAME
···3838.Nm getopt_long_only
3939.Nd get long options from command line argument list
4040.Sh SYNOPSIS
4141-.Fd #include <getopt.h>
4141+.In getopt.h
4242.Vt extern char *optarg;
4343.Vt extern int optind;
4444.Vt extern int optopt;
+3-3
lib/libc/stdlib/getsubopt.3
···11-.\" $OpenBSD: getsubopt.3,v 1.12 2007/05/31 19:19:31 jmc Exp $
11+.\" $OpenBSD: getsubopt.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2929.\"
3030.\" @(#)getsubopt.3 8.1 (Berkeley) 6/9/93
3131.\"
3232-.Dd $Mdocdate: May 31 2007 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt GETSUBOPT 3
3434.Os
3535.Sh NAME
3636.Nm getsubopt
3737.Nd get sub options from an argument
3838.Sh SYNOPSIS
3939-.Fd #include <stdlib.h>
3939+.In stdlib.h
4040.Vt extern char *suboptarg;
4141.Ft int
4242.Fn getsubopt "char **optionp" "char * const *tokens" "char **valuep"
+3-3
lib/libc/stdlib/imaxabs.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: imaxabs.3,v 1.5 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: imaxabs.3,v 1.6 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt IMAXABS 3
3636.Os
3737.Sh NAME
3838.Nm imaxabs
3939.Nd integer absolute value function
4040.Sh SYNOPSIS
4141-.Fd #include <inttypes.h>
4141+.In inttypes.h
4242.Ft intmax_t
4343.Fn imaxabs "intmax_t j"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/imaxdiv.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: imaxdiv.3,v 1.4 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: imaxdiv.3,v 1.5 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt IMAXDIV 3
3636.Os
3737.Sh NAME
3838.Nm imaxdiv
3939.Nd return quotient and remainder from division
4040.Sh SYNOPSIS
4141-.Fd #include <inttypes.h>
4141+.In inttypes.h
4242.Ft imaxdiv_t
4343.Fn imaxdiv "intmax_t num" "intmax_t denom"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/insque.3
···11-.\" $OpenBSD: insque.3,v 1.8 2011/01/14 07:33:47 jmc Exp $
11+.\" $OpenBSD: insque.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\" Copyright (c) 1993 John Brezak
33.\" All rights reserved.
44.\"
···2626.\" SUCH DAMAGE.
2727.\"
2828.\"
2929-.Dd $Mdocdate: January 14 2011 $
2929+.Dd $Mdocdate: June 5 2013 $
3030.Dt INSQUE 3
3131.Os
3232.Sh NAME
···3434.Nm remque
3535.Nd insert/remove element from a queue
3636.Sh SYNOPSIS
3737-.Fd #include <search.h>
3737+.In search.h
3838.Ft void
3939.Fn insque "void *elem" "void *pred"
4040.Ft void
+3-3
lib/libc/stdlib/labs.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: labs.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: labs.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt LABS 3
3636.Os
3737.Sh NAME
3838.Nm labs, llabs
3939.Nd return the absolute value of a long integer
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft long
4343.Fn labs "long i"
4444.Ft long long
+3-3
lib/libc/stdlib/ldiv.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: ldiv.3,v 1.10 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: ldiv.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt LDIV 3
3636.Os
3737.Sh NAME
3838.Nm ldiv
3939.Nd return quotient and remainder from division
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft ldiv_t
4343.Fn ldiv "long num" "long denom"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/lldiv.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: lldiv.3,v 1.3 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: lldiv.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt LLDIV 3
3636.Os
3737.Sh NAME
3838.Nm lldiv
3939.Nd return quotient and remainder from division
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft lldiv_t
4343.Fn lldiv "long long num" "long long denom"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/lsearch.3
···11-.\" $OpenBSD: lsearch.3,v 1.9 2009/02/10 21:47:56 jmc Exp $
11+.\" $OpenBSD: lsearch.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1989, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2929.\"
3030.\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93
3131.\"
3232-.Dd $Mdocdate: February 10 2009 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt LSEARCH 3
3434.Os
3535.Sh NAME
···3737.Nm lfind
3838.Nd linear searching routines
3939.Sh SYNOPSIS
4040-.Fd #include <search.h>
4040+.In search.h
4141.Ft char *
4242.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \
4343 "size_t width" "int (*compar)(const void *, const void *)"
+3-3
lib/libc/stdlib/malloc.3
···3030.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3131.\" SUCH DAMAGE.
3232.\"
3333-.\" $OpenBSD: malloc.3,v 1.71 2012/11/02 18:18:15 djm Exp $
3333+.\" $OpenBSD: malloc.3,v 1.72 2013/06/05 03:39:23 tedu Exp $
3434.\"
3535-.Dd $Mdocdate: November 2 2012 $
3535+.Dd $Mdocdate: June 5 2013 $
3636.Dt MALLOC 3
3737.Os
3838.Sh NAME
···4343.Nm cfree
4444.Nd memory allocation and deallocation
4545.Sh SYNOPSIS
4646-.Fd #include <stdlib.h>
4646+.In stdlib.h
4747.Ft void *
4848.Fn malloc "size_t size"
4949.Ft void *
+3-3
lib/libc/stdlib/qabs.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: qabs.3,v 1.12 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: qabs.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt QABS 3
3636.Os
3737.Sh NAME
3838.Nm qabs
3939.Nd return the absolute value of a quad integer
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft quad_t
4343.Fn qabs "quad_t j"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/qdiv.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: qdiv.3,v 1.9 2011/07/07 13:30:28 jmc Exp $
3232+.\" $OpenBSD: qdiv.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 7 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt QDIV 3
3636.Os
3737.Sh NAME
3838.Nm qdiv
3939.Nd return quotient and remainder from division
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft qdiv_t
4343.Fn qdiv "quad_t num" "quad_t denom"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/qsort.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: qsort.3,v 1.15 2007/05/31 19:19:31 jmc Exp $
3232+.\" $OpenBSD: qsort.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: May 31 2007 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt QSORT 3
3636.Os
3737.Sh NAME
···4040.Nm mergesort
4141.Nd sort functions
4242.Sh SYNOPSIS
4343-.Fd #include <stdlib.h>
4343+.In stdlib.h
4444.Ft void
4545.Fn qsort "void *base" "size_t nmemb" "size_t size" "int (*compar)(const void *, const void *)"
4646.Ft int
+4-4
lib/libc/stdlib/radixsort.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: radixsort.3,v 1.11 2007/05/31 19:19:31 jmc Exp $
2828+.\" $OpenBSD: radixsort.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt RADIXSORT 3
3232.Os
3333.Sh NAME
···3535.Nm sradixsort
3636.Nd radix sort
3737.Sh SYNOPSIS
3838-.Fd #include <limits.h>
3939-.Fd #include <stdlib.h>
3838+.In limits.h
3939+.In stdlib.h
4040.Ft int
4141.Fn radixsort "const u_char **base" "int nmemb" "const u_char *table" "u_int endbyte"
4242.Ft int
+3-3
lib/libc/stdlib/rand.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: rand.3,v 1.11 2012/06/02 00:14:16 guenther Exp $
3232+.\" $OpenBSD: rand.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: June 2 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt RAND 3
3636.Os
3737.Sh NAME
···3939.Nm srand
4040.Nd bad random number generator
4141.Sh SYNOPSIS
4242-.Fd #include <stdlib.h>
4242+.In stdlib.h
4343.Ft void
4444.Fn srand "unsigned int seed"
4545.Ft int
+3-3
lib/libc/stdlib/rand48.3
···99.\" of any kind. I shall in no event be liable for anything that happens
1010.\" to anyone/anything when using this software.
1111.\"
1212-.\" $OpenBSD: rand48.3,v 1.12 2012/06/02 00:14:16 guenther Exp $
1212+.\" $OpenBSD: rand48.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
1313.\"
1414-.Dd $Mdocdate: June 2 2012 $
1414+.Dd $Mdocdate: June 5 2013 $
1515.Dt RAND48 3
1616.Os
1717.Sh NAME
···2626.Nm lcong48
2727.Nd pseudo-random number generators and initialization routines
2828.Sh SYNOPSIS
2929-.Fd #include <stdlib.h>
2929+.In stdlib.h
3030.Ft double
3131.Fn drand48 void
3232.Ft double
+3-3
lib/libc/stdlib/random.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: random.3,v 1.20 2012/06/01 01:01:57 guenther Exp $
2828+.\" $OpenBSD: random.3,v 1.21 2013/06/05 03:39:23 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: June 1 2012 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt RANDOM 3
3232.Os
3333.Sh NAME
···3838.Nm setstate
3939.Nd better random number generator; routines for changing generators
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft long
4343.Fn random void
4444.Ft void
+4-4
lib/libc/stdlib/realpath.3
···2828.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929.\" SUCH DAMAGE.
3030.\"
3131-.\" $OpenBSD: realpath.3,v 1.17 2011/07/24 22:29:05 jmc Exp $
3131+.\" $OpenBSD: realpath.3,v 1.18 2013/06/05 03:39:23 tedu Exp $
3232.\"
3333-.Dd $Mdocdate: July 24 2011 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt REALPATH 3
3535.Os
3636.Sh NAME
3737.Nm realpath
3838.Nd returns the canonicalized absolute pathname
3939.Sh SYNOPSIS
4040-.Fd #include <limits.h>
4141-.Fd #include <stdlib.h>
4040+.In limits.h
4141+.In stdlib.h
4242.Ft "char *"
4343.Fn realpath "const char *pathname" "char *resolved"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/strtod.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strtod.3,v 1.17 2013/01/15 05:44:41 martynas Exp $
3232+.\" $OpenBSD: strtod.3,v 1.18 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: January 15 2013 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRTOD 3
3636.Os
3737.Sh NAME
···4242.Tn ASCII
4343string to double, float or long double
4444.Sh SYNOPSIS
4545-.Fd #include <stdlib.h>
4545+.In stdlib.h
4646.Ft double
4747.Fn strtod "const char *nptr" "char **endptr"
4848.Pp
+8-8
lib/libc/stdlib/strtol.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strtol.3,v 1.22 2011/09/03 23:24:51 jmc Exp $
3232+.\" $OpenBSD: strtol.3,v 1.23 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: September 3 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRTOL 3
3636.Os
3737.Sh NAME
···4141.Nm strtoq ,
4242.Nd "convert string value to a long, long long or intmax_t integer"
4343.Sh SYNOPSIS
4444-.Fd #include <limits.h>
4545-.Fd #include <stdlib.h>
4444+.In limits.h
4545+.In stdlib.h
4646.Ft long
4747.Fn strtol "const char *nptr" "char **endptr" "int base"
4848.Pp
4949.Ft long long
5050.Fn strtoll "const char *nptr" "char **endptr" "int base"
5151.Pp
5252-.Fd #include <inttypes.h>
5252+.In inttypes.h
5353.Ft intmax_t
5454.Fn strtoimax "const char *nptr" "char **endptr" "int base"
5555.Pp
5656-.Fd #include <sys/types.h>
5757-.Fd #include <limits.h>
5858-.Fd #include <stdlib.h>
5656+.In sys/types.h
5757+.In limits.h
5858+.In stdlib.h
5959.Ft quad_t
6060.Fn strtoq "const char *nptr" "char **endptr" "int base"
6161.Sh DESCRIPTION
+3-3
lib/libc/stdlib/strtonum.3
···11-.\" $OpenBSD: strtonum.3,v 1.15 2013/04/17 18:53:27 tedu Exp $
11+.\" $OpenBSD: strtonum.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 2004 Ted Unangst
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: April 17 2013 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt STRTONUM 3
1919.Os
2020.Sh NAME
2121.Nm strtonum
2222.Nd "reliably convert string value to an integer"
2323.Sh SYNOPSIS
2424-.Fd #include <stdlib.h>
2424+.In stdlib.h
2525.Ft long long
2626.Fo strtonum
2727.Fa "const char *nptr"
+8-8
lib/libc/stdlib/strtoul.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strtoul.3,v 1.20 2010/04/07 18:32:53 jmc Exp $
3232+.\" $OpenBSD: strtoul.3,v 1.21 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: April 7 2010 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRTOUL 3
3636.Os
3737.Sh NAME
···4141.Nm strtouq
4242.Nd "convert a string to an unsigned long, unsigned long long or uintmax_t integer"
4343.Sh SYNOPSIS
4444-.Fd #include <limits.h>
4545-.Fd #include <stdlib.h>
4444+.In limits.h
4545+.In stdlib.h
4646.Ft unsigned long
4747.Fn strtoul "const char *nptr" "char **endptr" "int base"
4848.Ft unsigned long long
4949.Fn strtoull "const char *nptr" "char **endptr" "int base"
5050-.Fd #include <inttypes.h>
5050+.In inttypes.h
5151.Ft uintmax_t
5252.Fn strtoumax "const char *nptr" "char **endptr" "int base"
5353-.Fd #include <sys/types.h>
5454-.Fd #include <limits.h>
5555-.Fd #include <stdlib.h>
5353+.In sys/types.h
5454+.In limits.h
5555+.In stdlib.h
5656.Ft u_quad_t
5757.Fn strtouq "const char *nptr" "char **endptr" "int base"
5858.Sh DESCRIPTION
+3-3
lib/libc/stdlib/system.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: system.3,v 1.11 2008/04/04 19:30:41 kurt Exp $
3232+.\" $OpenBSD: system.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: April 4 2008 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt SYSTEM 3
3636.Os
3737.Sh NAME
3838.Nm system
3939.Nd pass a command to the shell
4040.Sh SYNOPSIS
4141-.Fd #include <stdlib.h>
4141+.In stdlib.h
4242.Ft int
4343.Fn system "const char *string"
4444.Sh DESCRIPTION
+3-3
lib/libc/stdlib/tsearch.3
···11-.\" $OpenBSD: tsearch.3,v 1.18 2012/07/08 10:25:55 guenther Exp $
11+.\" $OpenBSD: tsearch.3,v 1.19 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: July 8 2012 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt TSEARCH 3
1919.Os
2020.Sh NAME
···2424.Nm twalk
2525.Nd manipulate binary search trees
2626.Sh SYNOPSIS
2727-.Fd #include <search.h>
2727+.In search.h
2828.Ft void *
2929.Fn tdelete "const void *key" "void **rootp" "int (*compar)(const void *, const void *)"
3030.Ft void *
+3-3
lib/libc/string/bcmp.3
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.\" $OpenBSD: bcmp.3,v 1.9 2011/07/25 00:38:52 schwarze Exp $
3030+.\" $OpenBSD: bcmp.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
3131.\"
3232-.Dd $Mdocdate: July 25 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt BCMP 3
3434.Os
3535.Sh NAME
···3737.Nm timingsafe_bcmp
3838.Nd compare byte string
3939.Sh SYNOPSIS
4040-.Fd #include <string.h>
4040+.In string.h
4141.Ft int
4242.Fn bcmp "const void *b1" "const void *b2" "size_t len"
4343.Ft int
+3-3
lib/libc/string/bcopy.3
···2828.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929.\" SUCH DAMAGE.
3030.\"
3131-.\" $OpenBSD: bcopy.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $
3131+.\" $OpenBSD: bcopy.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
3232.\"
3333-.Dd $Mdocdate: July 25 2011 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt BCOPY 3
3535.Os
3636.Sh NAME
3737.Nm bcopy
3838.Nd copy bytes
3939.Sh SYNOPSIS
4040-.Fd #include <string.h>
4040+.In string.h
4141.Ft void
4242.Fn bcopy "const void *src" "void *dst" "size_t len"
4343.Sh DESCRIPTION
+4-4
lib/libc/string/bm.3
···2828.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929.\" SUCH DAMAGE.
3030.\"
3131-.\" $OpenBSD: bm.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $
3131+.\" $OpenBSD: bm.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
3232.\"
3333-.Dd $Mdocdate: July 25 2011 $
3333+.Dd $Mdocdate: June 5 2013 $
3434.Dt BM 3
3535.Os
3636.Sh NAME
···3939.Nm bm_free
4040.Nd Boyer-Moore string search
4141.Sh SYNOPSIS
4242-.Fd #include <sys/types.h>
4343-.Fd #include <bm.h>
4242+.In sys/types.h
4343+.In bm.h
4444.Ft bm_pat *
4545.Fn bm_comp "const unsigned char *pattern" "size_t patlen" \
4646 "const unsigned char freq[256]"
+3-3
lib/libc/string/bstring.3
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.\" $OpenBSD: bstring.3,v 1.9 2011/07/25 00:38:52 schwarze Exp $
3030+.\" $OpenBSD: bstring.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
3131.\"
3232-.Dd $Mdocdate: July 25 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt BSTRING 3
3434.Os
3535.Sh NAME
3636.Nm bstring
3737.Nd byte string operations
3838.Sh SYNOPSIS
3939-.Fd #include <string.h>
3939+.In string.h
4040.Ft int
4141.Fn bcmp "const void *b1" "const void *b2" "size_t len"
4242.Ft void
+3-3
lib/libc/string/bzero.3
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.\" $OpenBSD: bzero.3,v 1.8 2011/07/25 00:38:52 schwarze Exp $
3030+.\" $OpenBSD: bzero.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
3131.\"
3232-.Dd $Mdocdate: July 25 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt BZERO 3
3434.Os
3535.Sh NAME
3636.Nm bzero
3737.Nd write zeroes to a byte string
3838.Sh SYNOPSIS
3939-.Fd #include <string.h>
3939+.In string.h
4040.Ft void
4141.Fn bzero "void *b" "size_t len"
4242.Sh DESCRIPTION
+3-3
lib/libc/string/ffs.3
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.\" $OpenBSD: ffs.3,v 1.8 2012/01/14 13:31:32 jmc Exp $
3030+.\" $OpenBSD: ffs.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
3131.\"
3232-.Dd $Mdocdate: January 14 2012 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt FFS 3
3434.Os
3535.Sh NAME
3636.Nm ffs
3737.Nd find first bit set in a bit string
3838.Sh SYNOPSIS
3939-.Fd #include <string.h>
3939+.In string.h
4040.Ft int
4141.Fn ffs "int value"
4242.Sh DESCRIPTION
+3-3
lib/libc/string/memccpy.3
···11-.\" $OpenBSD: memccpy.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: memccpy.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2929.\"
3030.\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93
3131.\"
3232-.Dd $Mdocdate: July 25 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt MEMCCPY 3
3434.Os
3535.Sh NAME
3636.Nm memccpy
3737.Nd copy string until character found
3838.Sh SYNOPSIS
3939-.Fd #include <string.h>
3939+.In string.h
4040.Ft void *
4141.Fn memccpy "void *dst" "const void *src" "int c" "size_t len"
4242.Sh DESCRIPTION
+3-3
lib/libc/string/memchr.3
···11-.\" $OpenBSD: memchr.3,v 1.10 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: memchr.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt MEMCHR 3
3636.Os
3737.Sh NAME
3838.Nm memchr
3939.Nd locate byte in byte string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft void *
4343.Fn memchr "const void *b" "int c" "size_t len"
4444.Ft void *
+3-3
lib/libc/string/memcmp.3
···11-.\" $OpenBSD: memcmp.3,v 1.7 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: memcmp.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt MEMCMP 3
3636.Os
3737.Sh NAME
3838.Nm memcmp
3939.Nd compare byte string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft int
4343.Fn memcmp "const void *b1" "const void *b2" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/memcpy.3
···11-.\" $OpenBSD: memcpy.3,v 1.9 2013/06/04 03:02:09 deraadt Exp $
11+.\" $OpenBSD: memcpy.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: June 4 2013 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt MEMCPY 3
3636.Os
3737.Sh NAME
3838.Nm memcpy
3939.Nd copy bytes
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft void *
4343.Fn memcpy "void *dst" "const void *src" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/memmove.3
···11-.\" $OpenBSD: memmove.3,v 1.8 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: memmove.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt MEMMOVE 3
3636.Os
3737.Sh NAME
3838.Nm memmove
3939.Nd copy bytes
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft void *
4343.Fn memmove "void *dst" "const void *src" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/memset.3
···11-.\" $OpenBSD: memset.3,v 1.7 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: memset.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt MEMSET 3
3636.Os
3737.Sh NAME
3838.Nm memset
3939.Nd write a byte to byte string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft void *
4343.Fn memset "void *b" "int c" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/stpcpy.3
···11-.\" $OpenBSD: stpcpy.3,v 1.2 2012/01/17 08:12:12 jmc Exp $
11+.\" $OpenBSD: stpcpy.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: January 17 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STPCPY 3
3636.Os
3737.Sh NAME
···3939.Nm stpncpy
4040.Nd copy strings
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn stpcpy "char *dst" "const char *src"
4545.Ft char *
+3-3
lib/libc/string/strcasecmp.3
···11-.\" $OpenBSD: strcasecmp.3,v 1.11 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: strcasecmp.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\"
3232.\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCASECMP 3
3636.Os
3737.Sh NAME
···3939.Nm strncasecmp
4040.Nd compare strings, ignoring case
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft int
4444.Fn strcasecmp "const char *s1" "const char *s2"
4545.Ft int
+3-3
lib/libc/string/strcat.3
···11-.\" $OpenBSD: strcat.3,v 1.13 2011/07/25 00:38:52 schwarze Exp $
11+.\" $OpenBSD: strcat.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCAT 3
3636.Os
3737.Sh NAME
···3939.Nm strncat
4040.Nd concatenate strings
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn strcat "char *s" "const char *append"
4545.Ft char *
+3-3
lib/libc/string/strchr.3
···11-.\" $OpenBSD: strchr.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strchr.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCHR 3
3636.Os
3737.Sh NAME
···3939.Nm index
4040.Nd locate first occurrence of a character in a string
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn strchr "const char *s" "int c"
4545.Ft char *
+3-3
lib/libc/string/strcmp.3
···11-.\" $OpenBSD: strcmp.3,v 1.12 2011/07/25 07:51:30 jmc Exp $
11+.\" $OpenBSD: strcmp.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCMP 3
3636.Os
3737.Sh NAME
···3939.Nm strncmp
4040.Nd compare strings
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft int
4444.Fn strcmp "const char *s1" "const char *s2"
4545.Ft int
+3-3
lib/libc/string/strcoll.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strcoll.3,v 1.8 2011/07/25 00:38:53 schwarze Exp $
3232+.\" $OpenBSD: strcoll.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCOLL 3
3636.Os
3737.Sh NAME
3838.Nm strcoll
3939.Nd compare strings according to current collation
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft int
4343.Fn strcoll "const char *s1" "const char *s2"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/strcpy.3
···11-.\" $OpenBSD: strcpy.3,v 1.16 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strcpy.3,v 1.17 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCPY 3
3636.Os
3737.Sh NAME
···3939.Nm strncpy
4040.Nd copy strings
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn strcpy "char *dst" "const char *src"
4545.Ft char *
+3-3
lib/libc/string/strcspn.3
···11-.\" $OpenBSD: strcspn.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strcspn.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRCSPN 3
3636.Os
3737.Sh NAME
3838.Nm strcspn
3939.Nd span the complement of a string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft size_t
4343.Fn strcspn "const char *s" "const char *charset"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/strdup.3
···11-.\" $OpenBSD: strdup.3,v 1.19 2011/12/08 08:06:19 lum Exp $
11+.\" $OpenBSD: strdup.3,v 1.20 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2929.\"
3030.\" @(#)strdup.3 8.1 (Berkeley) 6/9/93
3131.\"
3232-.Dd $Mdocdate: December 8 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt STRDUP 3
3434.Os
3535.Sh NAME
···3737.Nm strndup
3838.Nd save a copy of a string
3939.Sh SYNOPSIS
4040-.Fd #include <string.h>
4040+.In string.h
4141.Ft char *
4242.Fn strdup "const char *s"
4343.Ft char *
+3-3
lib/libc/string/strerror.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strerror.3,v 1.11 2012/03/26 05:07:38 guenther Exp $
3232+.\" $OpenBSD: strerror.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: March 26 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRERROR 3
3636.Os
3737.Sh NAME
3838.Nm strerror
3939.Nd get error message string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft char *
4343.Fn strerror "int errnum"
4444.Ft int
+3-3
lib/libc/string/string.3
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.\" $OpenBSD: string.3,v 1.12 2007/05/31 19:19:32 jmc Exp $
3030+.\" $OpenBSD: string.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
3131.\"
3232-.Dd $Mdocdate: May 31 2007 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt STRING 3
3434.Os
3535.Sh NAME
3636.Nm string
3737.Nd string specific functions
3838.Sh SYNOPSIS
3939-.Fd #include <string.h>
3939+.In string.h
4040.Ft char *
4141.Fn strcat "char *s" "const char *append"
4242.Ft char *
+3-3
lib/libc/string/strlcpy.3
···11-.\" $OpenBSD: strlcpy.3,v 1.22 2012/04/03 14:01:55 jmc Exp $
11+.\" $OpenBSD: strlcpy.3,v 1.23 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: April 3 2012 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt STRLCPY 3
1919.Os
2020.Sh NAME
···2222.Nm strlcat
2323.Nd size-bounded string copying and concatenation
2424.Sh SYNOPSIS
2525-.Fd #include <string.h>
2525+.In string.h
2626.Ft size_t
2727.Fn strlcpy "char *dst" "const char *src" "size_t dstsize"
2828.Ft size_t
+3-3
lib/libc/string/strlen.3
···11-.\" $OpenBSD: strlen.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strlen.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRLEN 3
3636.Os
3737.Sh NAME
···3939.Nm strnlen
4040.Nd find length of a string
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft size_t
4444.Fn strlen "const char *s"
4545.Ft size_t
+3-3
lib/libc/string/strmode.3
···11-.\" $OpenBSD: strmode.3,v 1.15 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strmode.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···2929.\"
3030.\" @(#)strmode.3 8.3 (Berkeley) 7/28/94
3131.\"
3232-.Dd $Mdocdate: July 25 2011 $
3232+.Dd $Mdocdate: June 5 2013 $
3333.Dt STRMODE 3
3434.Os
3535.Sh NAME
3636.Nm strmode
3737.Nd convert inode status information into a symbolic string
3838.Sh SYNOPSIS
3939-.Fd #include <string.h>
3939+.In string.h
4040.Ft void
4141.Fn strmode "mode_t mode" "char *bp"
4242.Sh DESCRIPTION
+3-3
lib/libc/string/strpbrk.3
···11-.\" $OpenBSD: strpbrk.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strpbrk.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRPBRK 3
3636.Os
3737.Sh NAME
3838.Nm strpbrk
3939.Nd locate multiple characters in string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft char *
4343.Fn strpbrk "const char *s" "const char *charset"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/strrchr.3
···11-.\" $OpenBSD: strrchr.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strrchr.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRRCHR 3
3636.Os
3737.Sh NAME
···3939.Nm rindex
4040.Nd locate last occurrence of a character in a string
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn strrchr "const char *s" "int c"
4545.Ft char *
+3-3
lib/libc/string/strsep.3
···11-.\" $OpenBSD: strsep.3,v 1.13 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strsep.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3232.\"
3333.\" @(#)strsep.3 8.1 (Berkeley) 6/9/93
3434.\"
3535-.Dd $Mdocdate: July 25 2011 $
3535+.Dd $Mdocdate: June 5 2013 $
3636.Dt STRSEP 3
3737.Os
3838.Sh NAME
3939.Nm strsep
4040.Nd separate strings
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn strsep "char **stringp" "const char *delim"
4545.Sh DESCRIPTION
+3-3
lib/libc/string/strsignal.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strsignal.3,v 1.7 2012/03/26 05:06:35 guenther Exp $
3232+.\" $OpenBSD: strsignal.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: March 26 2012 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRSIGNAL 3
3636.Os
3737.Sh NAME
3838.Nm strsignal
3939.Nd get signal description string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft char *
4343.Fn strsignal "int sig"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/strspn.3
···11-.\" $OpenBSD: strspn.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strspn.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRSPN 3
3636.Os
3737.Sh NAME
3838.Nm strspn
3939.Nd span a string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft size_t
4343.Fn strspn "const char *s" "const char *charset"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/strstr.3
···11-.\" $OpenBSD: strstr.3,v 1.11 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strstr.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRSTR 3
3636.Os
3737.Sh NAME
3838.Nm strstr , strcasestr
3939.Nd locate a substring in a string
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft char *
4343.Fn strstr "const char *big" "const char *little"
4444.Ft char *
+3-3
lib/libc/string/strtok.3
···11-.\" $OpenBSD: strtok.3,v 1.20 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: strtok.3,v 1.21 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1988, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRTOK 3
3636.Os
3737.Sh NAME
···3939.Nm strtok_r
4040.Nd string token operations
4141.Sh SYNOPSIS
4242-.Fd #include <string.h>
4242+.In string.h
4343.Ft char *
4444.Fn strtok "char *str" "const char *sep"
4545.Ft char *
+3-3
lib/libc/string/strxfrm.3
···2929.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030.\" SUCH DAMAGE.
3131.\"
3232-.\" $OpenBSD: strxfrm.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $
3232+.\" $OpenBSD: strxfrm.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt STRXFRM 3
3636.Os
3737.Sh NAME
3838.Nm strxfrm
3939.Nd transform a string under locale
4040.Sh SYNOPSIS
4141-.Fd #include <string.h>
4141+.In string.h
4242.Ft size_t
4343.Fn strxfrm "char *dst" "const char *src" "size_t n"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/swab.3
···2525.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626.\" SUCH DAMAGE.
2727.\"
2828-.\" $OpenBSD: swab.3,v 1.7 2011/07/25 00:38:53 schwarze Exp $
2828+.\" $OpenBSD: swab.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
2929.\"
3030-.Dd $Mdocdate: July 25 2011 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt SWAB 3
3232.Os
3333.Sh NAME
3434.Nm swab
3535.Nd swap adjacent bytes
3636.Sh SYNOPSIS
3737-.Fd #include <unistd.h>
3737+.In unistd.h
3838.Ft void
3939.Fn swab "const void *src" "void *dst" "size_t len"
4040.Sh DESCRIPTION
+3-3
lib/libc/string/wcscasecmp.3
···11-.\" $OpenBSD: wcscasecmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcscasecmp.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991, 1993
44.\" The Regents of the University of California. All rights reserved.
···3131.\"
3232.\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSCASECMP 3
3636.Os
3737.Sh NAME
···3939.Nm wcsncasecmp
4040.Nd compare wide strings, ignoring case
4141.Sh SYNOPSIS
4242-.Fd #include <wchar.h>
4242+.In wchar.h
4343.Ft int
4444.Fn wcscasecmp "const wchar_t *s1" "const wchar_t *s2"
4545.Ft int
+3-3
lib/libc/string/wcscat.3
···11-.\" $OpenBSD: wcscat.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcscat.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSCAT 3
3636.Os
3737.Sh NAME
···3939.Nm wcsncat
4040.Nd concatenate wide strings
4141.Sh SYNOPSIS
4242-.Fd #include <wchar.h>
4242+.In wchar.h
4343.Ft wchar_t *
4444.Fn wcscat "wchar_t * restrict s" "const wchar_t * restrict append"
4545.Ft wchar_t *
+3-3
lib/libc/string/wcschr.3
···11-.\" $OpenBSD: wcschr.3,v 1.3 2011/07/25 07:51:30 jmc Exp $
11+.\" $OpenBSD: wcschr.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSCHR 3
3636.Os
3737.Sh NAME
3838.Nm wcschr
3939.Nd locate first occurrence of a wide character in a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wcschr "const wchar_t *s" "wchar_t c"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wcscmp.3
···11-.\" $OpenBSD: wcscmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcscmp.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSCMP 3
3636.Os
3737.Sh NAME
···3939.Nm wcsncmp
4040.Nd compare wide strings
4141.Sh SYNOPSIS
4242-.Fd #include <wchar.h>
4242+.In wchar.h
4343.Ft int
4444.Fn wcscmp "const wchar_t *s1" "const wchar_t *s2"
4545.Ft int
+3-3
lib/libc/string/wcscpy.3
···11-.\" $OpenBSD: wcscpy.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcscpy.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSCPY 3
3636.Os
3737.Sh NAME
···3939.Nm wcsncpy
4040.Nd copy wide strings
4141.Sh SYNOPSIS
4242-.Fd #include <wchar.h>
4242+.In wchar.h
4343.Ft wchar_t *
4444.Fn wcscpy "wchar_t * restrict dst" "const wchar_t * restrict src"
4545.Ft wchar_t *
+3-3
lib/libc/string/wcscspn.3
···11-.\" $OpenBSD: wcscspn.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcscspn.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSCSPN 3
3636.Os
3737.Sh NAME
3838.Nm wcscspn
3939.Nd span the complement of a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft size_t
4343.Fn wcscspn "const wchar_t *s" "const wchar_t *charset"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wcslcpy.3
···11-.\" $OpenBSD: wcslcpy.3,v 1.3 2011/07/25 07:51:30 jmc Exp $
11+.\" $OpenBSD: wcslcpy.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: July 25 2011 $
1717+.Dd $Mdocdate: June 5 2013 $
1818.Dt WCSLCPY 3
1919.Os
2020.Sh NAME
···2222.Nm wcslcat
2323.Nd size-bounded wide string copying and concatenation
2424.Sh SYNOPSIS
2525-.Fd #include <wchar.h>
2525+.In wchar.h
2626.Ft size_t
2727.Fn wcslcpy "wchar_t *dst" "const wchar_t *src" "size_t size"
2828.Ft size_t
+3-3
lib/libc/string/wcslen.3
···11-.\" $OpenBSD: wcslen.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcslen.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSLEN 3
3636.Os
3737.Sh NAME
3838.Nm wcslen
3939.Nd find length of a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft size_t
4343.Fn wcslen "const wchar_t *s"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wcspbrk.3
···11-.\" $OpenBSD: wcspbrk.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcspbrk.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSPBRK 3
3636.Os
3737.Sh NAME
3838.Nm wcspbrk
3939.Nd locate multiple wide characters in a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wcspbrk "const wchar_t *s" "const wchar_t *charset"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wcsrchr.3
···11-.\" $OpenBSD: wcsrchr.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcsrchr.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSRCHR 3
3636.Os
3737.Sh NAME
3838.Nm wcsrchr
3939.Nd locate last occurrence of a wide character in a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wcsrchr "const wchar_t *s" "wchar_t c"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wcsspn.3
···11-.\" $OpenBSD: wcsspn.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcsspn.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSSPN 3
3636.Os
3737.Sh NAME
3838.Nm wcsspn
3939.Nd span a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft size_t
4343.Fn wcsspn "const wchar_t *s" "const wchar_t *charset"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wcsstr.3
···11-.\" $OpenBSD: wcsstr.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wcsstr.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WCSSTR 3
3636.Os
3737.Sh NAME
3838.Nm wcsstr
3939.Nd locate a wide substring in a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wcsstr "const wchar_t *big" "const wchar_t *little"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wmemchr.3
···11-.\" $OpenBSD: wmemchr.3,v 1.9 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wmemchr.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WMEMCHR 3
3636.Os
3737.Sh NAME
3838.Nm wmemchr
3939.Nd locate wide character in wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wmemchr "const wchar_t *b" "wchar_t c" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wmemcmp.3
···11-.\" $OpenBSD: wmemcmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wmemcmp.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WMEMCMP 3
3636.Os
3737.Sh NAME
3838.Nm wmemcmp
3939.Nd compare wide strings
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft int
4343.Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wmemcpy.3
···11-.\" $OpenBSD: wmemcpy.3,v 1.4 2013/06/04 03:02:09 deraadt Exp $
11+.\" $OpenBSD: wmemcpy.3,v 1.5 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: June 4 2013 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WMEMCPY 3
3636.Os
3737.Sh NAME
3838.Nm wmemcpy
3939.Nd copy wide characters
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wmemcpy "wchar_t * restrict dst" "const wchar_t * restrict src" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wmemmove.3
···11-.\" $OpenBSD: wmemmove.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wmemmove.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WMEMMOVE 3
3636.Os
3737.Sh NAME
3838.Nm wmemmove
3939.Nd copy wide characters
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wmemmove "wchar_t *dst" "const wchar_t *src" "size_t len"
4444.Sh DESCRIPTION
+3-3
lib/libc/string/wmemset.3
···11-.\" $OpenBSD: wmemset.3,v 1.3 2011/07/25 00:38:53 schwarze Exp $
11+.\" $OpenBSD: wmemset.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1990, 1991 The Regents of the University of California.
44.\" All rights reserved.
···3131.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3232.\" SUCH DAMAGE.
3333.\"
3434-.Dd $Mdocdate: July 25 2011 $
3434+.Dd $Mdocdate: June 5 2013 $
3535.Dt WMEMSET 3
3636.Os
3737.Sh NAME
3838.Nm wmemset
3939.Nd write a wide string
4040.Sh SYNOPSIS
4141-.Fd #include <wchar.h>
4141+.In wchar.h
4242.Ft wchar_t *
4343.Fn wmemset "wchar_t *s" "wchar_t c" "size_t len"
4444.Sh DESCRIPTION
+4-4
lib/libc/termios/tcgetpgrp.3
···11-.\" $OpenBSD: tcgetpgrp.3,v 1.8 2007/05/31 19:19:34 jmc Exp $
11+.\" $OpenBSD: tcgetpgrp.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TCGETPGRP 3
3232.Os
3333.Sh NAME
3434.Nm tcgetpgrp
3535.Nd get foreground process group ID
3636.Sh SYNOPSIS
3737-.Fd #include <sys/types.h>
3838-.Fd #include <unistd.h>
3737+.In sys/types.h
3838+.In unistd.h
3939.Ft pid_t
4040.Fn tcgetpgrp "int fd"
4141.Sh DESCRIPTION
+3-3
lib/libc/termios/tcsendbreak.3
···11-.\" $OpenBSD: tcsendbreak.3,v 1.8 2007/05/31 19:19:34 jmc Exp $
11+.\" $OpenBSD: tcsendbreak.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TCSENDBREAK 3
3232.Os
3333.Sh NAME
···3737.Nm tcsendbreak
3838.Nd line control functions
3939.Sh SYNOPSIS
4040-.Fd #include <termios.h>
4040+.In termios.h
4141.Ft int
4242.Fn tcdrain "int fd"
4343.Ft int
+3-3
lib/libc/termios/tcsetattr.3
···11-.\" $OpenBSD: tcsetattr.3,v 1.15 2007/05/31 19:19:34 jmc Exp $
11+.\" $OpenBSD: tcsetattr.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TCSETATTR 3
3232.Os
3333.Sh NAME
···4141.Nm tcsetattr
4242.Nd manipulating the termios structure
4343.Sh SYNOPSIS
4444-.Fd #include <termios.h>
4444+.In termios.h
4545.Ft speed_t
4646.Fn cfgetispeed "const struct termios *tp"
4747.Ft int
+4-4
lib/libc/termios/tcsetpgrp.3
···11-.\" $OpenBSD: tcsetpgrp.3,v 1.9 2007/05/31 19:19:34 jmc Exp $
11+.\" $OpenBSD: tcsetpgrp.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1991 The Regents of the University of California.
44.\" All rights reserved.
···2727.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2828.\" SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: May 31 2007 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt TCSETPGRP 3
3232.Os
3333.Sh NAME
3434.Nm tcsetpgrp
3535.Nd set foreground process group ID
3636.Sh SYNOPSIS
3737-.Fd #include <sys/types.h>
3838-.Fd #include <unistd.h>
3737+.In sys/types.h
3838+.In unistd.h
3939.Ft int
4040.Fn tcsetpgrp "int fd" "pid_t pgrp_id"
4141.Sh DESCRIPTION
+4-4
lib/libc/time/ctime.3
···11-.\" $OpenBSD: ctime.3,v 1.38 2012/09/13 11:14:20 millert Exp $
11+.\" $OpenBSD: ctime.3,v 1.39 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\"
44-.Dd $Mdocdate: September 13 2012 $
44+.Dd $Mdocdate: June 5 2013 $
55.Dt CTIME 3
66.Os
77.Sh NAME
···1919.Nm timelocal
2020.Nd convert date and time to ASCII
2121.Sh SYNOPSIS
2222-.Fd #include <sys/types.h>
2323-.Fd #include <time.h>
2222+.In sys/types.h
2323+.In time.h
2424.Pp
2525.Fd extern char *tzname[2];
2626.Ft "char *"
+3-3
lib/libc/time/strftime.3
···3030.\" SUCH DAMAGE.
3131.\"
3232.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
3333-.\" $OpenBSD: strftime.3,v 1.30 2013/01/05 12:55:10 krw Exp $
3333+.\" $OpenBSD: strftime.3,v 1.31 2013/06/05 03:39:23 tedu Exp $
3434.\"
3535-.Dd $Mdocdate: January 5 2013 $
3535+.Dd $Mdocdate: June 5 2013 $
3636.Dt STRFTIME 3
3737.Os
3838.Sh NAME
3939.Nm strftime
4040.Nd format date and time
4141.Sh SYNOPSIS
4242-.Fd #include <time.h>
4242+.In time.h
4343.Ft size_t
4444.Fn strftime "char *buf" "size_t maxsize" "const char *format" "const struct tm *timeptr"
4545.Sh DESCRIPTION
+3-3
lib/libc/time/strptime.3
···11-.\" $OpenBSD: strptime.3,v 1.21 2012/08/18 16:25:20 jmc Exp $
11+.\" $OpenBSD: strptime.3,v 1.22 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc.
44.\" All rights reserved.
···2626.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2727.\" POSSIBILITY OF SUCH DAMAGE.
2828.\"
2929-.Dd $Mdocdate: August 18 2012 $
2929+.Dd $Mdocdate: June 5 2013 $
3030.Dt STRPTIME 3
3131.Os
3232.Sh NAME
3333.Nm strptime
3434.Nd converts a character string to a time value
3535.Sh SYNOPSIS
3636-.Fd #include <time.h>
3636+.In time.h
3737.Ft char *
3838.Fn strptime "const char *buf" "const char *format" "struct tm *tm"
3939.Sh DESCRIPTION
···11-.\" $OpenBSD: wcsftime.3,v 1.2 2012/02/26 19:15:20 haesbaert Exp $
11+.\" $OpenBSD: wcsftime.3,v 1.3 2013/06/05 03:39:23 tedu Exp $
22.\" Copyright (c) 2011 Marc Espie <espie@openbsd.org>
33.\"
44.\" Permission to use, copy, modify, and distribute this software for any
···1313.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1414.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1515.\"
1616-.Dd $Mdocdate: February 26 2012 $
1616+.Dd $Mdocdate: June 5 2013 $
1717.Dt WCSFTIME 3
1818.Os
1919.Sh NAME
2020.Nm wcsftime
2121.Nd format date and time to wide characters string
2222.Sh SYNOPSIS
2323-.Fd #include <wchar.h>
2323+.In wchar.h
2424.Ft size_t
2525.Fn wcsftime "wchar_t *buf" "size_t maxsize" "const wchar_t *format" "const struct tm *timeptr"
2626.Sh DESCRIPTION
+6-6
lib/libc/yp/ypclnt.3
···11-.\" $OpenBSD: ypclnt.3,v 1.22 2009/06/12 16:28:49 schwarze Exp $
11+.\" $OpenBSD: ypclnt.3,v 1.23 2013/06/05 03:39:23 tedu Exp $
22.\"
33.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
44.\" All rights reserved.
···2727.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2828.\" POSSIBILITY OF SUCH DAMAGE.
2929.\"
3030-.Dd $Mdocdate: June 12 2009 $
3030+.Dd $Mdocdate: June 5 2013 $
3131.Dt YPCLNT 3
3232.Os
3333.Sh NAME
···4545.Nm ypprot_err
4646.Nd Interface to the YP subsystem
4747.Sh SYNOPSIS
4848-.Fd #include <sys/types.h>
4949-.Fd #include <rpc/rpc.h>
5050-.Fd #include <rpcsvc/ypclnt.h>
5151-.Fd #include <rpcsvc/yp_prot.h>
4848+.In sys/types.h
4949+.In rpc/rpc.h
5050+.In rpcsvc/ypclnt.h
5151+.In rpcsvc/yp_prot.h
5252.Ft int
5353.Fn yp_all "char *indomain" "char *inmap" "struct ypall_callback *incallback"
5454.Ft int