diff options
Diffstat (limited to 'man3/ttyslot.3')
-rw-r--r-- | man3/ttyslot.3 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index 04d0e0700..2e3c585d9 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -23,16 +23,26 @@ .\" This replaces an earlier man page written by Walter Harms .\" <walter.harms@informatik.uni-oldenburg.de>. .\" -.TH TTYSLOT 3 2002-07-20 "GNU" "Linux Programmer's Manual" +.TH TTYSLOT 3 2007-07-26 "GNU" "Linux Programmer's Manual" .SH NAME ttyslot \- find the slot of the current user's terminal in some file .SH SYNOPSIS .sp -.BR "#include <unistd.h>" " /* on BSD-like systems */" +.BR "#include <unistd.h>" " /* on BSD-like systems, and Linux */" .br .BR "#include <stdlib.h>" " /* on System V-like systems */" .sp .B "int ttyslot(void);" +.sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.ad l +.BR ttyslot (): +_BSD_SOURCE || (_XOPEN_SOURCE_EXTENDED && !\ _XOPEN_SOURCE\ >=\ 500) +.ad b .SH DESCRIPTION The legacy function .BR ttyslot () |