aboutsummaryrefslogtreecommitdiffstats
path: root/man3/makedev.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/makedev.3')
-rw-r--r--man3/makedev.311
1 files changed, 10 insertions, 1 deletions
diff --git a/man3/makedev.3 b/man3/makedev.3
index 68efac04c5..1df0f1bf50 100644
--- a/man3/makedev.3
+++ b/man3/makedev.3
@@ -28,7 +28,6 @@
makedev, major, minor \- manage a device number
.SH SYNOPSIS
.nf
-.BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/types.h>
.BI "dev_t makedev(unsigned int " maj ", unsigned int " min );
@@ -36,6 +35,16 @@ makedev, major, minor \- manage a device number
.BI "unsigned int major(dev_t " dev );
.BI "unsigned int minor(dev_t " dev );
.fi
+.sp
+.BR makedev (),
+.BR major (),
+.BR minor ():
+.nf
+ Since glibc 2.19:
+ _DEFAULT_SOURCE
+ In glibc up to and including 2.19:
+ _BSD_SOURCE
+.fi
.SH DESCRIPTION
A device ID consists of two parts:
a major ID, identifying the class of the device,