man-pages(7) Miscellaneous Information Manual man-pages(7) - - man [] GNU C. 2 3 4 7 1 5 8 . . : 1 () . 2 . 3 ( libc). 4 () /dev . 5 . 6 . 7 . 8 mount(8) (root) . groff an.tmac man(7). : . 75 . . TH: .TH - : title . section ( 7). . ( .) YYYY-MM-DD. ( ). - . . . . [ 2 3 ] [ 4 ] [ 1 8 ] [ 1 8 ] [ 2 3 ] [ 2 3 ] [ 2 3 ] [ 2 3 ] [ ] [ ] [ ] . ( 4 5). (.SS) . . . See man(7) for important details of the line(s) that should follow the .SH NAME command. All words in this line (including the word immediately following the "\-") should be in lowercase, except where English or technical terminological convention dictates otherwise. . (linker flag) : (libfoo[, -lfoo]). . ( ) . ([]) (|) (...). #include . ( ) feature_test_macros(7). . 4 . . . . . C . .TP ( ): XYZ_FLAG ( 3.7) ... C ( ). . 1 8. . . 1 8. 2 3 . 2 3 errno . ( ) . ( ) . . . FILES . . /usr/local /usr/local . ( ) . attributes(7) . (API) . . standards(7). . . GNU . BSD . ( ) ('.'). glibc . HISTORY . ( ). 2.4 ( 2.2) glibc 2.1 ( glibc 2.0). syscalls(2) . STANDARDS SUS SUSv2 XPG SVr4 4.xBSD. . For Section 2 and 3 man pages you may find it useful to include subsections (SS) named Linux Notes and glibc Notes. 2 C library/kernel differences ( ) C . . . . For details on writing example programs, see Example programs below. . AUTHORS. ( ) . BUGS. man-pages REPORTING BUGS . COLOPHON . REPORTING BUGS. . man-pages COPYRIGHT . . SEE ALSO . . . . SEE ALSO .ad l ( ) .nh ( ). "\%". -- -- SEE ALSO . man-pages. ( ) .nf/.fi . . : int snprintf(size_t size; char str[restrict size], size_t size, const char *restrict format, ...); SYNOPSIS . ( .P) : o ( list(3)) o . SYNOPSIS . : (1) ( xterm). (: ). : int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); (2) SYNOPSIS . PDF ( SYNOPSIS ). : int getopt(int argc, char * const argv[], const char *optstring); int getopt_long(int argc, char * const argv[], const char *optstring, const struct option *longopts, int *longindex); errno " errno " . POSIX.1 FreeBSD. : o .ad l/.ad .nh/.hy . o lbx ( ). o T{/T} ( 80 ). . man-pages. " " grep . UNIX [ . ] " ". . ( ) . ( 1 8) SYNOPSIS. . ( 2 3) SYNOPSIS : int myfunction(int argc, char **argv); . (). fcntl(2) : fcntl(). : .BR fcntl () ( "\fB...\fP()" ). ( ) . " " . : . ( ) . .TP. " " . (1) (2). . (4.2). () [4] [5]. . : 0 C . 1 cut(1). () (). (). (\[bu]). . " ". . " " . () ( .P .IP). ( PostScript PDF). ( ) ( ) (SYNOPSIS) ( #include ). C ( ). ( MAXINT). : NULL . ( .TP). man 7 man-pages man 7 man-pages. (\~) . ( -l). . . $ date; Thu Jul 7 13:01:27 CEST 2016 () ( intro(2)). : .BR intro (2) ( man2html(1) .) ^X. 2.59 man-pages ( ) . : o "backward" "upward" "toward" "backwards" "upwards" "towards" . o "acknowledgement" "acknowledgment". . POSIX BSD . Linux man-pages "acknowledgement". BSD BSD x.yBSD x.y ( 4.2BSD). BSD 4.3. ("SS") ( ) ( ) . : .SS Unicode under Linux 4 ( .in +4n .in) .EX .EE ( .P .IP). : .P .in +4n .EX int main(int argc, char *argv[]) { return 0; } .EE .in .P . --------------------------------------------------------------------------------------------------------- bit mask bitmask built-in Epoch epoch For the UNIX Epoch (00:00:00, 1 Jan 1970 UTC) filename file name filesystem file system hostname host name inode i-node lowercase lower case, lower-case nonzero non-zero pathname path name pseudoterminal pseudo-terminal privileged port reserved port, system port real-time realtime, real time run time saved set-group-ID saved group ID, saved set-GID saved set-user-ID saved user ID, saved set-UID set-group-ID set-GID, setgid set-user-ID set-UID, setuid superuser super user, super-user superblock super block, super-block symbolic link symlink timestamp time stamp time zone uppercase upper case, upper-case usable useable user space userspace user name x86-64 x86_64 Except if referring to result of uname -m or similar zeros zeroes . . ---------------------------------------------------------------------------------------------------------------------------------------- 32bit 32-bit 8-bit 16-bit . manpage OS pty pseudoterminal tty Unices UNIX Unixes UNIX . : DG/UX HP-UX UNIX UnixWare NULL NUL (null pointer) (null byte) NULL. NUL 0 C '\0'. "null pointer" "NULL" "NULL pointer". "null byte". "NUL" "NULL". "zero byte" "null character". C "the terminating null byte" "null-terminated" "NUL-terminated". .UR/.UE ( groff_man(7)). : BROWSER=firefox man -H pagename .e.g .i.e .etc .a.k.a "e.g." "i.e." "etc." "cf." "a.k.a." (" " "" " " " " " "). (e.g., like this one). . "e.g." "i.e." . (Em-dashes) (em-dash)-- -- *roff "\[em]". ( ASCII ). . ( ). : 32-bit value command-line argument floating-point number run-time check user-space function wide-character string multi non pre re sub "multi" "non" "pre" "re" "sub" . . : interprocess multithreaded multiprocess nonblocking nondefault nonempty noninteractive nonnegative nonportable nonzero preallocated precreate prerecorded reestablished reinitialize rearm reread subcomponent subdirectory subsystem (acronyms) . : non-ASCII non-English non-NULL non-real-time "re-create" "recreate" . ( -1 utf-8(7) ls -l) : \- . : o ASCII PDF Unicode/UTF-8. o (glyphs) . ASCII UTF-8 PDF "\[aq]" (" ") \[aq]C\[aq] C . . (^) PDF "\[ha]". PDF. "~" PDF. "\[ti]". (tilde) PDF. . : o C. o . . o ( 100 ) (API) . o . o . . "" ( ) . o . o cc -Wall. o ( ). o Kernighan Ritchie 4 . ( TAB !) : indent -npro -kr -i4 -ts4 -sob -l72 -ss -nut -psl prog.c o : exit(EXIT_SUCCESS); exit(EXIT_FAILURE); : exit(0); exit(1); return n; o Program source : .SS . : o . o . o . wait(2) pipe(2). man-pages pipe(2) fcntl(2). man(1), man2html(1), attributes(7), groff(7), groff_man(7), man(7), mdoc(7) 3 . . : . 6.18 8 2026 man-pages(7)