summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-08-06 20:07:36 +0000
committermillert <millert@openbsd.org>2003-08-06 20:07:36 +0000
commit4044e44267b2d2b648cc56808922d67b2d951eee (patch)
treed4d444a6bceab5704149087fb796dff73d498256 /lib/libc
parent-h, human readable sizes. from a jonathon gray mail to tech@ (diff)
downloadwireguard-openbsd-4044e44267b2d2b648cc56808922d67b2d951eee.tar.xz
wireguard-openbsd-4044e44267b2d2b648cc56808922d67b2d951eee.zip
getdiskbyname(3) requires <sys/types.h>; Patrick Latifi
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getdiskbyname.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/getdiskbyname.3 b/lib/libc/gen/getdiskbyname.3
index 2438205ffec..63aeb2d952e 100644
--- a/lib/libc/gen/getdiskbyname.3
+++ b/lib/libc/gen/getdiskbyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdiskbyname.3,v 1.8 2003/06/02 20:18:34 millert Exp $
+.\" $OpenBSD: getdiskbyname.3,v 1.9 2003/08/06 20:07:36 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -34,6 +34,7 @@
.Nm getdiskbyname
.Nd get generic disk description by its name
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <sys/disklabel.h>
.Ft struct disklabel *
.Fn getdiskbyname "const char *name"