summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2012-04-12 19:06:23 +0000
committerjmc <jmc@openbsd.org>2012-04-12 19:06:23 +0000
commit6626502ee2722eb4e230b56d81911c5fe87fe2da (patch)
treeb4231ec271a810967879c6dbc2b3eda0b5c46c65 /lib/libc
parentdo not downsize a type before calling malloc (diff)
downloadwireguard-openbsd-6626502ee2722eb4e230b56d81911c5fe87fe2da.tar.xz
wireguard-openbsd-6626502ee2722eb4e230b56d81911c5fe87fe2da.zip
tweak previous;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getdtablecount.211
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/sys/getdtablecount.2 b/lib/libc/sys/getdtablecount.2
index eba62e1d83f..d4bcee9f316 100644
--- a/lib/libc/sys/getdtablecount.2
+++ b/lib/libc/sys/getdtablecount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdtablecount.2,v 1.1 2012/04/12 11:07:19 deraadt Exp $
+.\" $OpenBSD: getdtablecount.2,v 1.2 2012/04/12 19:06:23 jmc Exp $
.\"
.\" Copyright (c) 2012 Theo de Raadt
.\"
@@ -25,13 +25,14 @@
.Ft int
.Fn getdtablecount void
.Sh DESCRIPTION
-Returns the number of file descriptors the process currently has
+.Nm
+returns the number of file descriptors the process currently has
open.
.Sh SEE ALSO
-.Xr getdtablesize 3 ,
-.Xr getrlimit 2
+.Xr getrlimit 2 ,
+.Xr getdtablesize 3
.Sh HISTORY
The
-.Fn getdtablecount
+.Nm
function call appeared in
.Ox 5.1 .