aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-04-20 14:04:28 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-04-20 14:06:28 +0200
commit85a400551680d5b899ed8eaf52f42a78e8af157e (patch)
treea8959571693580f6095bd5878883010da2d4b6e9
parent3350a86413d770198e11fe8df9a3cd5710240dc3 (diff)
downloadman-pages-85a400551680d5b899ed8eaf52f42a78e8af157e.tar.gz
makedev.3: NOTES: mention that <sys/types.h> may also define these macros
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/makedev.35
1 files changed, 5 insertions, 0 deletions
diff --git a/man3/makedev.3 b/man3/makedev.3
index 3d26d1571d..056c419fa4 100644
--- a/man3/makedev.3
+++ b/man3/makedev.3
@@ -92,6 +92,11 @@ they have been aliases for three GNU-specific functions:
and
.BR gnu_dev_minor ().
The latter names are exported, but the traditional names are more portable.
+
+The BSDs expose the definitions for these macros via
+.IR <sys/types/.h> ,
+and glibc also exposes definitions for these macros from that
+header file if suitable feature test macros are defined.
.SH SEE ALSO
.BR mknod (2),
.BR stat (2)