man-pages(7) Miscellaneous Information Manual man-pages(7) man-pages - Linux man [] , man-pages Linux, , , , Linux GNU C. , 2, 3, 4, 7, 1, 5 8 Linux. . : , , ; , , , ; , . : 1 () , . 2 , , . 3 ( libc), 2. 4 () /dev, . 5 , , . 6 , . 7 , , , : , . 8 mount(8), . groff an.tmac, man(7). , Linux . , 75 . , . TH: .TH - : The title of the man page. ( 7). ( man-pages , ). YYYY-MM-DD, . . --. , ( , ). - , . . . . , . , . NAME [ 2 3] [ 4] [ 1 8] [ 1 8] [ 2 3] [ 2 3] [ 2 3] [ 2 3] [ ] [ ] [ ] , , ; . , , ( 4 5). , , , (.SS) . . NAME . man(7), , .SH NAME. ( <<\->>) , , , , . , . , ( ) , , , : (libfoo[, -lfoo]). . ( ); , , . ([]), (|) , (...) . #include, . ( ) , , feature_test_macros(7). . , , 4. , , . , ; , ; ; . , , , . .TP ( ): XYZ_FLAG ( Linux 3.7) , , ( , , ). . , , 1 8. , . , , 1 8. 2 3 , , , . 2 3 , errno, . , ( ). : (, , ). . , . , , , , . , . /usr/local, /usr/local . (), . attributes(7) . , API - API. , , . standards(7). , API. API , , . Linux GNU, . BSD-, . ( ), ('.'). , Linux glibc , . , . , ( , ). , , , , , , , , , Linux 2.4 (. . Linux 2.2), , glibc 2.1 (. . glibc 2.0). syscalls(2) , . (, SUS, SUSv2 XPG SVr4 4.xBSD) , . . 2 3 (SS), , Linux (Linux notes) glibc (glibc notes). 2 C (C library/kernel differences), ( ) - , . API , . , , . , , , . . . . ( ); , . , . man-pages . , , , . , . . man-pages . . , , , . , , . , . . , .ad l ( , ) .nh ( ). , <<\%>>. , FOSS , -- -- . , man-pages. .nf/.fi, . , , . ( .P) : o (, , list(3)); o , . . , , : (1) , , , (, xterm) . (: , , , .) : int tcsetattr(int fd, int optional_actions, const struct termios *termios_p); (2) , , , . PDF ( , ). : 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: < >> (<>) . , POSIX.1, FreeBSD. : o .ad l/.ad, , .nh/.hy, . o , ( , , ) lbx . o T{/T}, ( , 80 ). . . man-pages. - , (Chicago Manual of Style); . - - . <<>>, <<>>, <<>>, <<>> (<>, <>, <>, <>) - . , , ( , 1 8), , . . , , ( 2 3), , ; , : int _(int argc, char **argv); , , . , . , fcntl(2) : fcntl(). : .BR fcntl () ( <<\fB...\fP()>> .) , (, , . .), . , << >>, , . : . ( ), . .TP. << >>. () : (1), (2). , . (4.2). () : [4], [5]. . : 0 , , . 1 - , , cut(1). : (), () (<<(a), (b)>>). () . (\[bu]). , , . , << >>. . << >>, . ( .P .IP). , ( , PostScript PDF). ( ) (, ), , (, #include ). , , (, ). , , (, 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 <> (), <> (), <> () . ., <>, <>, <> . . o <> <>. , . POSIX BSD . Linux man-pages <>. BSD BSD x.yBSD, x.y - (, 4.2BSD). BSD 4.3. (<>) , , (, ) (, ). : .SS 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 () builtin Epoch () epoch UNIX (00:00:00, 1 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 ( ) runtime saved set-group-ID ( set-group-ID) saved group ID, saved set-GID saved set-user-ID ( 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 timezone ( ) time zone uppercase () upper case, upper-case usable ( ) useable user space ( ) userspace username ( ) user name x86-64 x86_64 , <> zeros () zeroes . , , , . ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 32bit 32-bit (32-) 8-bit, 16-bit . . current process ( ) calling process ( ) , manpage man page, manual page ( ) minus infinity ( ) negative infinity ( ) non-root ( root) unprivileged user ( ) non-superuser ( ) unprivileged user ( ) nonprivileged unprivileged () OS operating system ( ) plus infinity ( ) positive infinity ( ) pty pseudoterminal (-) tty terminal () Unices UNIX systems ( UNIX) Unixes UNIX systems ( UNIX) . , : DG/UX HP-UX UNIX UnixWare NULL, NUL, null null null (null pointer) -- , , , NULL. , NUL null (null byte), 0, '\0'. << null>> (null pointer) << >>, <>; << NULL>> (NULL pointer). << null>> (null byte). <>, <>. << >> (<>) << >> (null character). , , << null>> (terminating null byte); << null>> (null-terminated), << NUL>> (NUL-terminated). .UR/.UE ( groff_man(7)). , ; : BROWSER=firefox man -H - e.g. (.), i.e. (. .), a.k.a. ( ) . . , <>, <>, <>, <> <>, (<> (), <> ( ), <> ( ), <> ( ), <> ( )). , -- (. . ). . <> <> . : <<. .>>, << . .>> . . ; <<.>> <<>> . -- , , -- *roff <<\[em]>> ( ASCII-, , ). (. .: ) . (. . ). : 32-bit value (32- ) command-line argument ( ) floating-point number ( ) run-time check ( ) user-space function ( ) wide-character string ( ) 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 ()

         
         
        
        , 
       ,  ,
         
       . 
       :

              non-ASCII (-ASCII)
              non-English ()
              non-NULL (-NULL)
              non-real-time (   )

         ,  
        <>
       ()  <>
       () --  
          ,
       , 
        .

     
         
        
        (,  
       (-1),   
        
        (utf-8(7))  
        ,
         
        (ls -l)), 
          
        
        :

           \-

          
         .

        
         
        :

       o    
           
          ,  
           ASCII, 
            PDF  
          ,
           Unicode/UTF-8.

       o   , 
            
            
            
             
          .

         
       ,  
          ASCII,   UTF-8,
        <<\[aq]>> (<>,
       << >>);
       :

           \[aq]C\[aq]

        C --   .
          
          
        .

         
         
       (^),   
         
       ,    PDF,
        <<\[ha]>>. 
          
       ,  
        
          
       PDF.

        
         <<~>> 
           PDF.
         
       <<\[ti]>>.   
          ,
         
          
        PDF.

     
        
         
        
       , 
        
         
       .   
         :

       o    
              .

       o   
            
             , 
            -
           ,   
            
           
           .
           ,
            
            
          ,  ,
           
          .

       o    
            
           (,
            
              
          100  ),  
            
            
           , 
           
          
           API.

       o   
          .

       o    
           ,  
          . 
            
           
           .
            
           
          <<->> (.
          . ,
             
           ); 
           
            
            ,  
           .

       o    
            
            
            
           
          .

       o    
            
           
           
            cc -Wall.

       o  ,    
          , 
           
          
           
          ,  
            
             (
            
            
           
            ).

       o    
             
             (Kernighan and
          Ritchie),    4
          . (
           
            
          !)  
            
           
             -
           
           :

              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)


         
        
       () aereiae , Alexey
       , Azamat Hackimov ,
       Dmitriy S. Seregin , Dmitry Bolkhovskikh
       , ITriskTI , Max Is
       , Yuri Kozlov , 
        , 
        
       , Kirill Rekhov  
       Alexander Golubev 

         
        
       ; 
        
        
        GNU (GNU General Public License - GPL,
         3
         ) 
        
       ,   -
       .

         
       -  
         
       , ,
         
       ()  ()
       () 
           
        
       
       <>.

Linux man-pages 6.12    15  2025 .           man-pages(7)