home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-04-17 | 25.9 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: config.H
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sun Apr 17 02:58:11 1994, modified Sun Apr 17 02:58:11 1994, creator 'MPS ', type ASCII, 25849 bytes "config.H" , at 0x6579 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 63 6f 6e 66 69 67 | 2e 48 00 00 00 00 00 00 |..config|.H......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 64 f9 00 | 00 01 ac a9 d6 8e 83 a9 |.....d..|........|
|00000060| d6 8e 83 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 be 10 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 63 6f 6e 66 69 67 5f 68 |#ifndef |config_h|
|00000090| 0d 23 64 65 66 69 6e 65 | 20 63 6f 6e 66 69 67 5f |.#define| config_|
|000000a0| 68 0d 23 69 66 64 65 66 | 20 6d 61 63 69 6e 74 6f |h.#ifdef| macinto|
|000000b0| 73 68 0d 2f 2a 20 63 6f | 6e 66 69 67 2e 68 0d 20 |sh./* co|nfig.h. |
|000000c0| 2a 20 4f 6e 20 74 68 65 | 20 4d 61 63 2c 20 74 68 |* On the| Mac, th|
|000000d0| 69 73 20 66 69 6c 65 20 | 69 73 20 63 6f 6e 66 69 |is file |is confi|
|000000e0| 67 75 72 65 64 20 6d 61 | 6e 75 61 6c 6c 79 2c 20 |gured ma|nually, |
|000000f0| 61 73 20 6f 70 70 6f 73 | 65 64 20 74 6f 20 77 68 |as oppos|ed to wh|
|00000100| 61 74 20 74 68 65 20 0d | 20 2a 20 63 6f 6d 6d 65 |at the .| * comme|
|00000110| 6e 74 20 62 65 6c 6f 77 | 20 73 61 79 73 2e 0d 20 |nt below| says.. |
|00000120| 2a 2f 0d 23 65 6c 73 65 | 0d 2f 2a 20 63 6f 6e 66 |*/.#else|./* conf|
|00000130| 69 67 2e 68 0d 20 2a 20 | 54 68 69 73 20 66 69 6c |ig.h. * |This fil|
|00000140| 65 20 77 61 73 20 70 72 | 6f 64 75 63 65 64 20 62 |e was pr|oduced b|
|00000150| 79 20 72 75 6e 6e 69 6e | 67 20 74 68 65 20 63 6f |y runnin|g the co|
|00000160| 6e 66 69 67 2e 68 2e 53 | 48 20 73 63 72 69 70 74 |nfig.h.S|H script|
|00000170| 2c 20 77 68 69 63 68 0d | 20 2a 20 67 65 74 73 20 |, which.| * gets |
|00000180| 69 74 73 20 76 61 6c 75 | 65 73 20 66 72 6f 6d 20 |its valu|es from |
|00000190| 63 6f 6e 66 69 67 2e 73 | 68 2c 20 77 68 69 63 68 |config.s|h, which|
|000001a0| 20 69 73 20 67 65 6e 65 | 72 61 6c 6c 79 20 70 72 | is gene|rally pr|
|000001b0| 6f 64 75 63 65 64 20 62 | 79 0d 20 2a 20 72 75 6e |oduced b|y. * run|
|000001c0| 6e 69 6e 67 20 43 6f 6e | 66 69 67 75 72 65 2e 0d |ning Con|figure..|
|000001d0| 20 2a 0d 20 2a 20 46 65 | 65 6c 20 66 72 65 65 20 | *. * Fe|el free |
|000001e0| 74 6f 20 6d 6f 64 69 66 | 79 20 61 6e 79 20 6f 66 |to modif|y any of|
|000001f0| 20 74 68 69 73 20 61 73 | 20 74 68 65 20 6e 65 65 | this as| the nee|
|00000200| 64 20 61 72 69 73 65 73 | 2e 20 20 4e 6f 74 65 2c |d arises|. Note,|
|00000210| 20 68 6f 77 65 76 65 72 | 2c 0d 20 2a 20 74 68 61 | however|,. * tha|
|00000220| 74 20 72 75 6e 6e 69 6e | 67 20 63 6f 6e 66 69 67 |t runnin|g config|
|00000230| 2e 68 2e 53 48 20 61 67 | 61 69 6e 20 77 69 6c 6c |.h.SH ag|ain will|
|00000240| 20 77 69 70 65 20 6f 75 | 74 20 61 6e 79 20 63 68 | wipe ou|t any ch|
|00000250| 61 6e 67 65 73 20 79 6f | 75 27 76 65 20 6d 61 64 |anges yo|u've mad|
|00000260| 65 2e 0d 20 2a 20 46 6f | 72 20 61 20 6d 6f 72 65 |e.. * Fo|r a more|
|00000270| 20 70 65 72 6d 61 6e 65 | 6e 74 20 63 68 61 6e 67 | permane|nt chang|
|00000280| 65 20 65 64 69 74 20 63 | 6f 6e 66 69 67 2e 73 68 |e edit c|onfig.sh|
|00000290| 20 61 6e 64 20 72 65 72 | 75 6e 20 63 6f 6e 66 69 | and rer|un confi|
|000002a0| 67 2e 68 2e 53 48 2e 0d | 20 2a 0d 20 2a 2f 0d 20 |g.h.SH..| *. */. |
|000002b0| 2f 2a 53 55 50 50 52 45 | 53 53 20 34 36 30 2a 2f |/*SUPPRE|SS 460*/|
|000002c0| 0d 23 65 6e 64 69 66 0d | 0d 2f 2a 20 45 55 4e 49 |.#endif.|./* EUNI|
|000002d0| 43 45 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |CE. *.Th|is symbo|
|000002e0| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i|
|000002f0| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th|
|00000300| 65 20 70 72 6f 67 72 61 | 6d 20 69 73 20 62 65 69 |e progra|m is bei|
|00000310| 6e 67 20 63 6f 6d 70 69 | 6c 65 64 0d 20 2a 09 75 |ng compi|led. *.u|
|00000320| 6e 64 65 72 20 74 68 65 | 20 45 55 4e 49 43 45 20 |nder the| EUNICE |
|00000330| 70 61 63 6b 61 67 65 20 | 75 6e 64 65 72 20 56 4d |package |under VM|
|00000340| 53 2e 20 20 54 68 65 20 | 70 72 6f 67 72 61 6d 20 |S. The |program |
|00000350| 77 69 6c 6c 20 6e 65 65 | 64 20 74 6f 20 68 61 6e |will nee|d to han|
|00000360| 64 6c 65 0d 20 2a 09 74 | 68 69 6e 67 73 20 6c 69 |dle. *.t|hings li|
|00000370| 6b 65 20 66 69 6c 65 73 | 20 74 68 61 74 20 64 6f |ke files| that do|
|00000380| 6e 27 74 20 67 6f 20 61 | 77 61 79 20 74 68 65 20 |n't go a|way the |
|00000390| 66 69 72 73 74 20 74 69 | 6d 65 20 79 6f 75 20 75 |first ti|me you u|
|000003a0| 6e 6c 69 6e 6b 20 74 68 | 65 6d 2c 0d 20 2a 09 64 |nlink th|em,. *.d|
|000003b0| 75 65 20 74 6f 20 76 65 | 72 73 69 6f 6e 20 6e 75 |ue to ve|rsion nu|
|000003c0| 6d 62 65 72 69 6e 67 2e | 20 20 49 74 20 77 69 6c |mbering.| It wil|
|000003d0| 6c 20 61 6c 73 6f 20 6e | 65 65 64 20 74 6f 20 63 |l also n|eed to c|
|000003e0| 6f 6d 70 65 6e 73 61 74 | 65 20 66 6f 72 20 6c 61 |ompensat|e for la|
|000003f0| 63 6b 0d 20 2a 09 6f 66 | 20 61 20 72 65 73 70 65 |ck. *.of| a respe|
|00000400| 63 74 61 62 6c 65 20 6c | 69 6e 6b 28 29 20 63 6f |ctable l|ink() co|
|00000410| 6d 6d 61 6e 64 2e 0d 20 | 2a 2f 0d 2f 2a 20 56 4d |mmand.. |*/./* VM|
|00000420| 53 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |S. *.Thi|s symbol|
|00000430| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00000440| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the|
|00000450| 20 70 72 6f 67 72 61 6d | 20 69 73 20 72 75 6e 6e | program| is runn|
|00000460| 69 6e 67 20 75 6e 64 65 | 72 0d 20 2a 09 56 4d 53 |ing unde|r. *.VMS|
|00000470| 2e 20 20 49 74 20 69 73 | 20 63 75 72 72 65 6e 74 |. It is| current|
|00000480| 6c 79 20 6f 6e 6c 79 20 | 73 65 74 20 69 6e 20 63 |ly only |set in c|
|00000490| 6f 6e 6a 75 6e 63 74 69 | 6f 6e 20 77 69 74 68 20 |onjuncti|on with |
|000004a0| 74 68 65 20 45 55 4e 49 | 43 45 20 73 79 6d 62 6f |the EUNI|CE symbo|
|000004b0| 6c 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 09 45 55 |l.. */.#|undef.EU|
|000004c0| 4e 49 43 45 09 09 2f 2a | 2a 2f 0d 23 75 6e 64 65 |NICE../*|*/.#unde|
|000004d0| 66 09 56 4d 53 09 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |f.VMS...|/**/../*|
|000004e0| 20 4c 4f 43 5f 53 45 44 | 0d 20 2a 20 20 20 20 20 | LOC_SED|. * |
|000004f0| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 68 6f 6c 64 |This sym|bol hold|
|00000500| 73 20 74 68 65 20 63 6f | 6d 70 6c 65 74 65 20 70 |s the co|mplete p|
|00000510| 61 74 68 6e 61 6d 65 20 | 74 6f 20 74 68 65 20 73 |athname |to the s|
|00000520| 65 64 20 70 72 6f 67 72 | 61 6d 2e 0d 20 2a 2f 0d |ed progr|am.. */.|
|00000530| 23 64 65 66 69 6e 65 20 | 4c 4f 43 5f 53 45 44 20 |#define |LOC_SED |
|00000540| 22 2f 62 69 6e 2f 73 65 | 64 22 20 20 20 20 20 20 |"/bin/se|d" |
|00000550| 20 20 20 20 20 20 20 2f | 2a 2a 2f 0d 0d 2f 2a 20 | /|**/../* |
|00000560| 41 4c 49 47 4e 42 59 54 | 45 53 0d 20 2a 09 54 68 |ALIGNBYT|ES. *.Th|
|00000570| 69 73 20 73 79 6d 62 6f | 6c 20 63 6f 6e 74 61 69 |is symbo|l contai|
|00000580| 6e 73 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ns the n|umber of|
|00000590| 20 62 79 74 65 73 20 72 | 65 71 75 69 72 65 64 20 | bytes r|equired |
|000005a0| 74 6f 20 61 6c 69 67 6e | 20 61 20 64 6f 75 62 6c |to align| a doubl|
|000005b0| 65 2e 0d 20 2a 09 55 73 | 75 61 6c 20 76 61 6c 75 |e.. *.Us|ual valu|
|000005c0| 65 73 20 61 72 65 20 32 | 2c 20 34 2c 20 61 6e 64 |es are 2|, 4, and|
|000005d0| 20 38 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 20 | 8.. */.|#define |
|000005e0| 41 4c 49 47 4e 42 59 54 | 45 53 20 34 09 09 2f 2a |ALIGNBYT|ES 4../*|
|000005f0| 2a 2f 0d 0d 2f 2a 20 42 | 49 4e 0d 20 2a 09 54 68 |*/../* B|IN. *.Th|
|00000600| 69 73 20 73 79 6d 62 6f | 6c 20 68 6f 6c 64 73 20 |is symbo|l holds |
|00000610| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00000620| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 20 77 68 69 |director|y in whi|
|00000630| 63 68 20 74 68 65 20 75 | 73 65 72 20 77 61 6e 74 |ch the u|ser want|
|00000640| 73 0d 20 2a 09 74 6f 20 | 6b 65 65 70 20 70 75 62 |s. *.to |keep pub|
|00000650| 6c 69 63 6c 79 20 65 78 | 65 63 75 74 61 62 6c 65 |licly ex|ecutable|
|00000660| 20 69 6d 61 67 65 73 20 | 66 6f 72 20 74 68 65 20 | images |for the |
|00000670| 70 61 63 6b 61 67 65 20 | 69 6e 20 71 75 65 73 74 |package |in quest|
|00000680| 69 6f 6e 2e 20 20 49 74 | 0d 20 2a 09 69 73 20 6d |ion. It|. *.is m|
|00000690| 6f 73 74 20 6f 66 74 65 | 6e 20 61 20 6c 6f 63 61 |ost ofte|n a loca|
|000006a0| 6c 20 64 69 72 65 63 74 | 6f 72 79 20 73 75 63 68 |l direct|ory such|
|000006b0| 20 61 73 20 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 62 | as /usr|/local/b|
|000006c0| 69 6e 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 20 |in.. */.|#define |
|000006d0| 42 49 4e 20 22 6d 65 72 | 6c 69 6e 3a 4d 50 57 3a |BIN "mer|lin:MPW:|
|000006e0| 54 6f 6f 6c 73 22 20 20 | 20 20 20 20 20 20 20 20 |Tools" | |
|000006f0| 20 20 20 2f 2a 2a 2f 0d | 0d 2f 2a 20 42 59 54 45 | /**/.|./* BYTE|
|00000700| 4f 52 44 45 52 0d 20 2a | 09 54 68 69 73 20 73 79 |ORDER. *|.This sy|
|00000710| 6d 62 6f 6c 20 63 6f 6e | 74 61 69 6e 73 20 61 6e |mbol con|tains an|
|00000720| 20 65 6e 63 6f 64 69 6e | 67 20 6f 66 20 74 68 65 | encodin|g of the|
|00000730| 20 6f 72 64 65 72 20 6f | 66 20 62 79 74 65 73 20 | order o|f bytes |
|00000740| 69 6e 20 61 20 6c 6f 6e | 67 2e 0d 20 2a 09 55 73 |in a lon|g.. *.Us|
|00000750| 75 61 6c 20 76 61 6c 75 | 65 73 20 28 69 6e 20 68 |ual valu|es (in h|
|00000760| 65 78 29 20 61 72 65 20 | 30 78 31 32 33 34 2c 20 |ex) are |0x1234, |
|00000770| 30 78 34 33 32 31 2c 20 | 30 78 32 31 34 33 2c 20 |0x4321, |0x2143, |
|00000780| 30 78 33 34 31 32 2e 2e | 2e 0d 20 2a 2f 0d 23 64 |0x3412..|.. */.#d|
|00000790| 65 66 69 6e 65 20 42 59 | 54 45 4f 52 44 45 52 20 |efine BY|TEORDER |
|000007a0| 30 78 34 33 32 31 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |0x4321..|/**/../*|
|000007b0| 20 43 50 50 53 54 44 49 | 4e 0d 20 2a 09 54 68 69 | CPPSTDI|N. *.Thi|
|000007c0| 73 20 73 79 6d 62 6f 6c | 20 63 6f 6e 74 61 69 6e |s symbol| contain|
|000007d0| 73 20 74 68 65 20 66 69 | 72 73 74 20 70 61 72 74 |s the fi|rst part|
|000007e0| 20 6f 66 20 74 68 65 20 | 73 74 72 69 6e 67 20 77 | of the |string w|
|000007f0| 68 69 63 68 20 77 69 6c | 6c 20 69 6e 76 6f 6b 65 |hich wil|l invoke|
|00000800| 0d 20 2a 09 74 68 65 20 | 43 20 70 72 65 70 72 6f |. *.the |C prepro|
|00000810| 63 65 73 73 6f 72 20 6f | 6e 20 74 68 65 20 73 74 |cessor o|n the st|
|00000820| 61 6e 64 61 72 64 20 69 | 6e 70 75 74 20 61 6e 64 |andard i|nput and|
|00000830| 20 70 72 6f 64 75 63 65 | 20 74 6f 20 73 74 61 6e | produce| to stan|
|00000840| 64 61 72 64 0d 20 2a 09 | 6f 75 74 70 75 74 2e 09 |dard. *.|output..|
|00000850| 20 54 79 70 69 63 61 6c | 20 76 61 6c 75 65 20 6f | Typical| value o|
|00000860| 66 20 22 63 63 20 2d 45 | 22 20 6f 72 20 22 2f 6c |f "cc -E|" or "/l|
|00000870| 69 62 2f 63 70 70 22 2e | 0d 20 2a 2f 0d 2f 2a 20 |ib/cpp".|. */./* |
|00000880| 43 50 50 4d 49 4e 55 53 | 0d 20 2a 09 54 68 69 73 |CPPMINUS|. *.This|
|00000890| 20 73 79 6d 62 6f 6c 20 | 63 6f 6e 74 61 69 6e 73 | symbol |contains|
|000008a0| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 70 61 72 74 | the sec|ond part|
|000008b0| 20 6f 66 20 74 68 65 20 | 73 74 72 69 6e 67 20 77 | of the |string w|
|000008c0| 68 69 63 68 20 77 69 6c | 6c 20 69 6e 76 6f 6b 65 |hich wil|l invoke|
|000008d0| 0d 20 2a 09 74 68 65 20 | 43 20 70 72 65 70 72 6f |. *.the |C prepro|
|000008e0| 63 65 73 73 6f 72 20 6f | 6e 20 74 68 65 20 73 74 |cessor o|n the st|
|000008f0| 61 6e 64 61 72 64 20 69 | 6e 70 75 74 20 61 6e 64 |andard i|nput and|
|00000900| 20 70 72 6f 64 75 63 65 | 20 74 6f 20 73 74 61 6e | produce| to stan|
|00000910| 64 61 72 64 0d 20 2a 09 | 6f 75 74 70 75 74 2e 20 |dard. *.|output. |
|00000920| 20 54 68 69 73 20 73 79 | 6d 62 6f 6c 20 77 69 6c | This sy|mbol wil|
|00000930| 6c 20 68 61 76 65 20 74 | 68 65 20 76 61 6c 75 65 |l have t|he value|
|00000940| 20 22 2d 22 20 69 66 20 | 43 50 50 53 54 44 49 4e | "-" if |CPPSTDIN|
|00000950| 20 6e 65 65 64 73 20 61 | 20 6d 69 6e 75 73 0d 20 | needs a| minus. |
|00000960| 2a 09 74 6f 20 73 70 65 | 63 69 66 79 20 73 74 61 |*.to spe|cify sta|
|00000970| 6e 64 61 72 64 20 69 6e | 70 75 74 2c 20 6f 74 68 |ndard in|put, oth|
|00000980| 65 72 77 69 73 65 20 74 | 68 65 20 76 61 6c 75 65 |erwise t|he value|
|00000990| 20 69 73 20 22 22 2e 0d | 20 2a 2f 0d 23 64 65 66 | is ""..| */.#def|
|000009a0| 69 6e 65 20 43 50 50 53 | 54 44 49 4e 20 22 43 20 |ine CPPS|TDIN "C |
|000009b0| 2d 65 22 0d 23 64 65 66 | 69 6e 65 20 43 50 50 4d |-e".#def|ine CPPM|
|000009c0| 49 4e 55 53 20 22 22 0d | 0d 2f 2a 20 48 41 53 5f |INUS "".|./* HAS_|
|000009d0| 42 43 4d 50 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |BCMP. *.|This sym|
|000009e0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|000009f0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|00000a00| 74 68 65 20 62 63 6d 70 | 20 72 6f 75 74 69 6e 65 |the bcmp| routine|
|00000a10| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 0d 20 2a | is avai|lable. *|
|00000a20| 09 74 6f 20 63 6f 6d 70 | 61 72 65 20 62 6c 6f 63 |.to comp|are bloc|
|00000a30| 6b 73 20 6f 66 20 6d 65 | 6d 6f 72 79 2e 20 20 49 |ks of me|mory. I|
|00000a40| 66 20 75 6e 64 65 66 69 | 6e 65 64 2c 20 75 73 65 |f undefi|ned, use|
|00000a50| 20 6d 65 6d 63 6d 70 2e | 20 20 49 66 20 74 68 61 | memcmp.| If tha|
|00000a60| 74 27 73 0d 20 2a 09 6e | 6f 74 20 61 76 61 69 6c |t's. *.n|ot avail|
|00000a70| 61 62 6c 65 2c 20 72 6f | 6c 6c 20 79 6f 75 72 20 |able, ro|ll your |
|00000a80| 6f 77 6e 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |own.. */|.#define|
|00000a90| 09 48 41 53 5f 42 43 4d | 50 09 09 2f 2a 2a 2f 0d |.HAS_BCM|P../**/.|
|00000aa0| 0d 2f 2a 20 48 41 53 5f | 42 43 4f 50 59 0d 20 2a |./* HAS_|BCOPY. *|
|00000ab0| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00000ac0| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00000ad0| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 62 63 6f |tes that| the bco|
|00000ae0| 70 79 20 72 6f 75 74 69 | 6e 65 20 69 73 20 61 76 |py routi|ne is av|
|00000af0| 61 69 6c 61 62 6c 65 0d | 20 2a 09 74 6f 20 63 6f |ailable.| *.to co|
|00000b00| 70 79 20 62 6c 6f 63 6b | 73 20 6f 66 20 6d 65 6d |py block|s of mem|
|00000b10| 6f 72 79 2e 20 20 4f 74 | 68 65 72 77 69 73 65 20 |ory. Ot|herwise |
|00000b20| 79 6f 75 20 73 68 6f 75 | 6c 64 20 70 72 6f 62 61 |you shou|ld proba|
|00000b30| 62 6c 79 20 75 73 65 20 | 6d 65 6d 63 70 79 28 29 |bly use |memcpy()|
|00000b40| 2e 0d 2b 20 20 2a 09 49 | 66 20 6e 65 69 74 68 65 |..+ *.I|f neithe|
|00000b50| 72 20 69 73 20 64 65 66 | 69 6e 65 64 2c 20 72 6f |r is def|ined, ro|
|00000b60| 6c 6c 20 79 6f 75 72 20 | 6f 77 6e 2e 0d 20 20 20 |ll your |own.. |
|00000b70| 2a 2f 0d 2f 2a 20 53 41 | 46 45 5f 42 43 4f 50 59 |*/./* SA|FE_BCOPY|
|00000b80| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00000b90| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00000ba0| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00000bb0| 62 63 6f 70 79 20 72 6f | 75 74 69 6e 65 20 69 73 |bcopy ro|utine is|
|00000bc0| 20 61 76 61 69 6c 61 62 | 6c 65 0d 20 2a 09 74 6f | availab|le. *.to|
|00000bd0| 20 63 6f 70 79 20 70 6f | 74 65 6e 74 69 61 6c 6c | copy po|tentiall|
|00000be0| 79 20 6f 76 65 72 6c 61 | 70 70 69 6e 67 20 63 6f |y overla|pping co|
|00000bf0| 70 79 20 62 6c 6f 63 6b | 73 20 6f 66 20 62 63 6f |py block|s of bco|
|00000c00| 70 79 2e 20 20 4f 74 68 | 65 72 77 69 73 65 20 79 |py. Oth|erwise y|
|00000c10| 6f 75 0d 20 2a 09 73 68 | 6f 75 6c 64 20 70 72 6f |ou. *.sh|ould pro|
|00000c20| 62 61 62 6c 79 20 75 73 | 65 20 6d 65 6d 6d 6f 76 |bably us|e memmov|
|00000c30| 65 28 29 20 6f 72 20 6d | 65 6d 63 70 79 28 29 2e |e() or m|emcpy().|
|00000c40| 20 20 49 66 20 6e 65 69 | 74 68 65 72 20 69 73 20 | If nei|ther is |
|00000c50| 64 65 66 69 6e 65 64 2c | 0d 20 2a 09 72 6f 6c 6c |defined,|. *.roll|
|00000c60| 20 79 6f 75 72 20 6f 77 | 6e 2e 0d 20 2a 2f 0d 23 | your ow|n.. */.#|
|00000c70| 75 6e 64 65 66 09 48 41 | 53 5f 42 43 4f 50 59 09 |undef.HA|S_BCOPY.|
|00000c80| 09 2f 2a 2a 2f 0d 23 75 | 6e 64 65 66 09 53 41 46 |./**/.#u|ndef.SAF|
|00000c90| 45 5f 42 43 4f 50 59 09 | 09 2f 2a 2a 2f 0d 0d 2f |E_BCOPY.|./**/../|
|00000ca0| 2a 20 48 41 53 5f 42 5a | 45 52 4f 0d 20 2a 09 54 |* HAS_BZ|ERO. *.T|
|00000cb0| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d|
|00000cc0| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate|
|00000cd0| 73 20 74 68 61 74 20 74 | 68 65 20 62 7a 65 72 6f |s that t|he bzero|
|00000ce0| 20 72 6f 75 74 69 6e 65 | 20 69 73 20 61 76 61 69 | routine| is avai|
|00000cf0| 6c 61 62 6c 65 0d 20 2a | 09 74 6f 20 7a 65 72 6f |lable. *|.to zero|
|00000d00| 20 62 6c 6f 63 6b 73 20 | 6f 66 20 6d 65 6d 6f 72 | blocks |of memor|
|00000d10| 79 2e 20 20 4f 74 68 65 | 72 77 69 73 65 20 79 6f |y. Othe|rwise yo|
|00000d20| 75 20 73 68 6f 75 6c 64 | 20 70 72 6f 62 61 62 6c |u should| probabl|
|00000d30| 79 20 75 73 65 20 6d 65 | 6d 73 65 74 28 29 0d 20 |y use me|mset(). |
|00000d40| 2a 09 6f 72 20 72 6f 6c | 6c 20 79 6f 75 72 20 6f |*.or rol|l your o|
|00000d50| 77 6e 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 48 |wn.. */.|#undef.H|
|00000d60| 41 53 5f 42 5a 45 52 4f | 09 09 2f 2a 2a 2f 0d 0d |AS_BZERO|../**/..|
|00000d70| 2f 2a 20 43 41 53 54 4e | 45 47 46 4c 4f 41 54 0d |/* CASTN|EGFLOAT.|
|00000d80| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00000d90| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|00000da0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 69 73 20 |cates th|at this |
|00000db0| 43 20 63 6f 6d 70 69 6c | 65 72 20 6b 6e 6f 77 73 |C compil|er knows|
|00000dc0| 20 68 6f 77 20 74 6f 0d | 20 2a 09 63 61 73 74 20 | how to.| *.cast |
|00000dd0| 6e 65 67 61 74 69 76 65 | 20 6f 72 20 6c 61 72 67 |negative| or larg|
|00000de0| 65 20 66 6c 6f 61 74 69 | 6e 67 20 70 6f 69 6e 74 |e floati|ng point|
|00000df0| 20 6e 75 6d 62 65 72 73 | 20 74 6f 20 75 6e 73 69 | numbers| to unsi|
|00000e00| 67 6e 65 64 20 6c 6f 6e | 67 73 2c 20 69 6e 74 73 |gned lon|gs, ints|
|00000e10| 0d 20 2a 09 61 6e 64 20 | 73 68 6f 72 74 73 2e 0d |. *.and |shorts..|
|00000e20| 20 2a 2f 0d 2f 2a 20 43 | 41 53 54 46 4c 41 47 53 | */./* C|ASTFLAGS|
|00000e30| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 20 |. *.This| symbol |
|00000e40| 63 6f 6e 74 61 69 6e 73 | 20 66 6c 61 67 73 20 74 |contains| flags t|
|00000e50| 68 61 74 20 73 61 79 20 | 77 68 61 74 20 64 69 66 |hat say |what dif|
|00000e60| 66 69 63 75 6c 74 69 65 | 73 20 74 68 65 20 63 6f |ficultie|s the co|
|00000e70| 6d 70 69 6c 65 72 0d 20 | 2a 09 68 61 73 20 63 61 |mpiler. |*.has ca|
|00000e80| 73 74 69 6e 67 20 6f 64 | 64 20 66 6c 6f 61 74 69 |sting od|d floati|
|00000e90| 6e 67 20 76 61 6c 75 65 | 73 20 74 6f 20 75 6e 73 |ng value|s to uns|
|00000ea0| 69 67 6e 65 64 20 6c 6f | 6e 67 3a 0d 20 2a 09 09 |igned lo|ng:. *..|
|00000eb0| 31 20 3d 20 63 6f 75 6c | 64 6e 27 74 20 63 61 73 |1 = coul|dn't cas|
|00000ec0| 74 20 3c 20 30 0d 20 2a | 09 09 32 20 3d 20 63 6f |t < 0. *|..2 = co|
|00000ed0| 75 6c 64 6e 27 74 20 63 | 61 73 74 20 3e 3d 20 30 |uldn't c|ast >= 0|
|00000ee0| 78 38 30 30 30 30 30 30 | 30 0d 20 2a 2f 0d 23 64 |x8000000|0. */.#d|
|00000ef0| 65 66 69 6e 65 09 43 41 | 53 54 4e 45 47 46 4c 4f |efine.CA|STNEGFLO|
|00000f00| 41 54 09 2f 2a 2a 2f 0d | 23 64 65 66 69 6e 65 09 |AT./**/.|#define.|
|00000f10| 43 41 53 54 46 4c 41 47 | 53 20 30 09 2f 2a 2a 2f |CASTFLAG|S 0./**/|
|00000f20| 0d 0d 2f 2a 20 43 48 41 | 52 53 50 52 49 4e 54 46 |../* CHA|RSPRINTF|
|00000f30| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 20 |. *.This| symbol |
|00000f40| 69 73 20 64 65 66 69 6e | 65 64 20 69 66 20 74 68 |is defin|ed if th|
|00000f50| 69 73 20 73 79 73 74 65 | 6d 20 64 65 63 6c 61 72 |is syste|m declar|
|00000f60| 65 73 20 22 63 68 61 72 | 20 2a 73 70 72 69 6e 74 |es "char| *sprint|
|00000f70| 66 28 29 22 20 69 6e 0d | 20 2a 09 73 74 64 69 6f |f()" in.| *.stdio|
|00000f80| 2e 68 2e 20 20 54 68 65 | 20 74 72 65 6e 64 20 73 |.h. The| trend s|
|00000f90| 65 65 6d 73 20 74 6f 20 | 62 65 20 74 6f 20 64 65 |eems to |be to de|
|00000fa0| 63 6c 61 72 65 20 69 74 | 20 61 73 20 22 69 6e 74 |clare it| as "int|
|00000fb0| 20 73 70 72 69 6e 74 66 | 28 29 22 2e 20 20 49 74 | sprintf|()". It|
|00000fc0| 0d 20 2a 09 69 73 20 75 | 70 20 74 6f 20 74 68 65 |. *.is u|p to the|
|00000fd0| 20 70 61 63 6b 61 67 65 | 20 61 75 74 68 6f 72 20 | package| author |
|00000fe0| 74 6f 20 64 65 63 6c 61 | 72 65 20 73 70 72 69 6e |to decla|re sprin|
|00000ff0| 74 66 20 63 6f 72 72 65 | 63 74 6c 79 20 62 61 73 |tf corre|ctly bas|
|00001000| 65 64 20 6f 6e 20 74 68 | 65 0d 20 2a 09 73 79 6d |ed on th|e. *.sym|
|00001010| 62 6f 6c 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |bol.. */|.#undef.|
|00001020| 43 48 41 52 53 50 52 49 | 4e 54 46 20 09 2f 2a 2a |CHARSPRI|NTF ./**|
|00001030| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 43 48 53 49 5a 45 |/../* HA|S_CHSIZE|
|00001040| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00001050| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00001060| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00001070| 63 68 73 69 7a 65 20 72 | 6f 75 74 69 6e 65 20 69 |chsize r|outine i|
|00001080| 73 20 61 76 61 69 6c 61 | 62 6c 65 0d 20 2a 09 74 |s availa|ble. *.t|
|00001090| 6f 20 74 72 75 6e 63 61 | 74 65 20 66 69 6c 65 73 |o trunca|te files|
|000010a0| 2e 20 20 59 6f 75 20 6d | 69 67 68 74 20 6e 65 65 |. You m|ight nee|
|000010b0| 64 20 61 20 2d 6c 78 20 | 74 6f 20 67 65 74 20 74 |d a -lx |to get t|
|000010c0| 68 69 73 20 72 6f 75 74 | 69 6e 65 2e 0d 20 2a 2f |his rout|ine.. */|
|000010d0| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 43 48 53 49 |.#undef.|HAS_CHSI|
|000010e0| 5a 45 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 48 41 53 |ZE../**/|../* HAS|
|000010f0| 5f 43 52 59 50 54 0d 20 | 2a 09 54 68 69 73 20 73 |_CRYPT. |*.This s|
|00001100| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|00001110| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|00001120| 74 20 74 68 65 20 63 72 | 79 70 74 20 72 6f 75 74 |t the cr|ypt rout|
|00001130| 69 6e 65 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ine is a|vailable|
|00001140| 0d 20 2a 09 74 6f 20 65 | 6e 63 72 79 70 74 20 70 |. *.to e|ncrypt p|
|00001150| 61 73 73 77 6f 72 64 73 | 20 61 6e 64 20 74 68 65 |asswords| and the|
|00001160| 20 6c 69 6b 65 2e 0d 20 | 2a 2f 0d 23 75 6e 64 65 | like.. |*/.#unde|
|00001170| 66 09 48 41 53 5f 43 52 | 59 50 54 09 09 2f 2a 2a |f.HAS_CR|YPT../**|
|00001180| 2f 0d 0d 2f 2a 20 43 53 | 48 0d 20 2a 09 54 68 69 |/../* CS|H. *.Thi|
|00001190| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|000011a0| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|000011b0| 74 68 61 74 20 74 68 65 | 20 43 2d 73 68 65 6c 6c |that the| C-shell|
|000011c0| 20 65 78 69 73 74 73 2e | 0d 20 2a 09 49 66 20 64 | exists.|. *.If d|
|000011d0| 65 66 69 6e 65 64 2c 20 | 63 6f 6e 74 61 69 6e 73 |efined, |contains|
|000011e0| 20 74 68 65 20 66 75 6c | 6c 20 70 61 74 68 6e 61 | the ful|l pathna|
|000011f0| 6d 65 20 6f 66 20 63 73 | 68 2e 0d 20 2a 2f 0d 23 |me of cs|h.. */.#|
|00001200| 75 6e 64 65 66 20 43 53 | 48 20 22 2f 62 69 6e 2f |undef CS|H "/bin/|
|00001210| 63 73 68 22 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 44 |csh"../*|*/../* D|
|00001220| 4f 53 55 49 44 0d 20 2a | 09 54 68 69 73 20 73 79 |OSUID. *|.This sy|
|00001230| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined|
|00001240| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that|
|00001250| 20 74 68 65 20 43 20 70 | 72 6f 67 72 61 6d 20 73 | the C p|rogram s|
|00001260| 68 6f 75 6c 64 0d 20 2a | 09 63 68 65 63 6b 20 74 |hould. *|.check t|
|00001270| 68 65 20 73 63 72 69 70 | 74 20 74 68 61 74 20 69 |he scrip|t that i|
|00001280| 74 20 69 73 20 65 78 65 | 63 75 74 69 6e 67 20 66 |t is exe|cuting f|
|00001290| 6f 72 20 73 65 74 75 69 | 64 2f 73 65 74 67 69 64 |or setui|d/setgid|
|000012a0| 20 62 69 74 73 2c 20 61 | 6e 64 0d 20 2a 09 61 74 | bits, a|nd. *.at|
|000012b0| 74 65 6d 70 74 20 74 6f | 20 65 6d 75 6c 61 74 65 |tempt to| emulate|
|000012c0| 20 73 65 74 75 69 64 2f | 73 65 74 67 69 64 20 6f | setuid/|setgid o|
|000012d0| 6e 20 73 79 73 74 65 6d | 73 20 74 68 61 74 20 68 |n system|s that h|
|000012e0| 61 76 65 20 64 69 73 61 | 62 6c 65 64 0d 20 2a 09 |ave disa|bled. *.|
|000012f0| 73 65 74 75 69 64 20 23 | 21 20 73 63 72 69 70 74 |setuid #|! script|
|00001300| 73 20 62 65 63 61 75 73 | 65 20 74 68 65 20 6b 65 |s becaus|e the ke|
|00001310| 72 6e 65 6c 20 63 61 6e | 27 74 20 64 6f 20 69 74 |rnel can|'t do it|
|00001320| 20 73 65 63 75 72 65 6c | 79 2e 0d 20 2a 09 49 74 | securel|y.. *.It|
|00001330| 20 69 73 20 75 70 20 74 | 6f 20 74 68 65 20 70 61 | is up t|o the pa|
|00001340| 63 6b 61 67 65 20 64 65 | 73 69 67 6e 65 72 20 74 |ckage de|signer t|
|00001350| 6f 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 61 74 |o make s|ure that|
|00001360| 20 74 68 69 73 20 65 6d | 75 6c 61 74 69 6f 6e 0d | this em|ulation.|
|00001370| 20 2a 09 69 73 20 64 6f | 6e 65 20 73 65 63 75 72 | *.is do|ne secur|
|00001380| 65 6c 79 2e 20 20 41 6d | 6f 6e 67 20 6f 74 68 65 |ely. Am|ong othe|
|00001390| 72 20 74 68 69 6e 67 73 | 2c 20 69 74 20 73 68 6f |r things|, it sho|
|000013a0| 75 6c 64 20 64 6f 20 61 | 6e 20 66 73 74 61 74 20 |uld do a|n fstat |
|000013b0| 6f 6e 0d 20 2a 09 74 68 | 65 20 73 63 72 69 70 74 |on. *.th|e script|
|000013c0| 20 69 74 20 6a 75 73 74 | 20 6f 70 65 6e 65 64 20 | it just| opened |
|000013d0| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 69 74 20 |to make |sure it |
|000013e0| 72 65 61 6c 6c 79 20 69 | 73 20 61 20 73 65 74 75 |really i|s a setu|
|000013f0| 69 64 2f 73 65 74 67 69 | 64 0d 20 2a 09 73 63 72 |id/setgi|d. *.scr|
|00001400| 69 70 74 2c 20 69 74 20 | 73 68 6f 75 6c 64 20 6d |ipt, it |should m|
|00001410| 61 6b 65 20 73 75 72 65 | 20 74 68 65 20 61 72 67 |ake sure| the arg|
|00001420| 75 6d 65 6e 74 73 20 70 | 61 73 73 65 64 20 63 6f |uments p|assed co|
|00001430| 72 72 65 73 70 6f 6e 64 | 20 65 78 61 63 74 6c 79 |rrespond| exactly|
|00001440| 0d 20 2a 09 74 6f 20 74 | 68 65 20 61 72 67 75 6d |. *.to t|he argum|
|00001450| 65 6e 74 20 6f 6e 20 74 | 68 65 20 23 21 20 6c 69 |ent on t|he #! li|
|00001460| 6e 65 2c 20 61 6e 64 20 | 69 74 20 73 68 6f 75 6c |ne, and |it shoul|
|00001470| 64 20 6e 6f 74 20 74 72 | 75 73 74 20 61 6e 79 0d |d not tr|ust any.|
|00001480| 20 2a 09 73 75 62 70 72 | 6f 63 65 73 73 65 73 20 | *.subpr|ocesses |
|00001490| 74 6f 20 77 68 69 63 68 | 20 69 74 20 6d 75 73 74 |to which| it must|
|000014a0| 20 70 61 73 73 20 74 68 | 65 20 66 69 6c 65 6e 61 | pass th|e filena|
|000014b0| 6d 65 20 72 61 74 68 65 | 72 20 74 68 61 6e 20 74 |me rathe|r than t|
|000014c0| 68 65 0d 20 2a 09 66 69 | 6c 65 20 64 65 73 63 72 |he. *.fi|le descr|
|000014d0| 69 70 74 6f 72 20 6f 66 | 20 74 68 65 20 73 63 72 |iptor of| the scr|
|000014e0| 69 70 74 20 74 6f 20 62 | 65 20 65 78 65 63 75 74 |ipt to b|e execut|
|000014f0| 65 64 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 20 44 |ed.. */.|#undef D|
|00001500| 4f 53 55 49 44 09 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |OSUID../|**/../* |
|00001510| 48 41 53 5f 44 55 50 32 | 0d 20 2a 09 54 68 69 73 |HAS_DUP2|. *.This|
|00001520| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi|
|00001530| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t|
|00001540| 68 61 74 20 74 68 65 20 | 64 75 70 32 20 72 6f 75 |hat the |dup2 rou|
|00001550| 74 69 6e 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |tine is |availabl|
|00001560| 65 0d 20 2a 09 74 6f 20 | 64 75 70 20 66 69 6c 65 |e. *.to |dup file|
|00001570| 20 64 65 73 63 72 69 70 | 74 6f 72 73 2e 20 20 4f | descrip|tors. O|
|00001580| 74 68 65 72 77 69 73 65 | 20 79 6f 75 20 73 68 6f |therwise| you sho|
|00001590| 75 6c 64 20 75 73 65 20 | 64 75 70 28 29 2e 0d 20 |uld use |dup().. |
|000015a0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 48 41 53 5f 44 |*/.#defi|ne.HAS_D|
|000015b0| 55 50 32 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |UP2../**|/../* HA|
|000015c0| 53 5f 46 43 48 4d 4f 44 | 0d 20 2a 09 54 68 69 73 |S_FCHMOD|. *.This|
|000015d0| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi|
|000015e0| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t|
|000015f0| 68 61 74 20 74 68 65 20 | 66 63 68 6d 6f 64 20 72 |hat the |fchmod r|
|00001600| 6f 75 74 69 6e 65 20 69 | 73 20 61 76 61 69 6c 61 |outine i|s availa|
|00001610| 62 6c 65 0d 20 2a 09 74 | 6f 20 63 68 61 6e 67 65 |ble. *.t|o change|
|00001620| 20 6d 6f 64 65 20 6f 66 | 20 6f 70 65 6e 65 64 20 | mode of| opened |
|00001630| 66 69 6c 65 73 2e 20 20 | 49 66 20 75 6e 61 76 61 |files. |If unava|
|00001640| 69 6c 61 62 6c 65 2c 20 | 75 73 65 20 63 68 6d 6f |ilable, |use chmo|
|00001650| 64 28 29 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |d().. */|.#undef.|
|00001660| 48 41 53 5f 46 43 48 4d | 4f 44 09 09 2f 2a 2a 2f |HAS_FCHM|OD../**/|
|00001670| 0d 0d 2f 2a 20 48 41 53 | 5f 46 43 48 4f 57 4e 0d |../* HAS|_FCHOWN.|
|00001680| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00001690| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|000016a0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 66 |cates th|at the f|
|000016b0| 63 68 6f 77 6e 20 72 6f | 75 74 69 6e 65 20 69 73 |chown ro|utine is|
|000016c0| 20 61 76 61 69 6c 61 62 | 6c 65 0d 20 2a 09 74 6f | availab|le. *.to|
|000016d0| 20 63 68 61 6e 67 65 20 | 6f 77 6e 65 72 73 68 69 | change |ownershi|
|000016e0| 70 20 6f 66 20 6f 70 65 | 6e 65 64 20 66 69 6c 65 |p of ope|ned file|
|000016f0| 73 2e 20 20 49 66 20 75 | 6e 61 76 61 69 6c 61 62 |s. If u|navailab|
|00001700| 6c 65 2c 20 75 73 65 20 | 63 68 6f 77 6e 28 29 2e |le, use |chown().|
|00001710| 0d 20 2a 2f 0d 23 75 6e | 64 65 66 09 48 41 53 5f |. */.#un|def.HAS_|
|00001720| 46 43 48 4f 57 4e 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |FCHOWN..|/**/../*|
|00001730| 20 48 41 53 5f 46 43 4e | 54 4c 0d 20 2a 09 54 68 | HAS_FCN|TL. *.Th|
|00001740| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de|
|00001750| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates|
|00001760| 20 74 6f 20 74 68 65 20 | 43 20 70 72 6f 67 72 61 | to the |C progra|
|00001770| 6d 20 74 68 61 74 0d 20 | 2a 09 74 68 65 20 66 63 |m that. |*.the fc|
|00001780| 6e 74 6c 28 29 20 66 75 | 6e 63 74 69 6f 6e 20 65 |ntl() fu|nction e|
|00001790| 78 69 73 74 73 2e 0d 20 | 2a 2f 0d 23 64 65 66 69 |xists.. |*/.#defi|
|000017a0| 6e 65 09 48 41 53 5f 46 | 43 4e 54 4c 09 09 2f 2a |ne.HAS_F|CNTL../*|
|000017b0| 2a 2f 0d 0d 2f 2a 20 46 | 4c 45 58 46 49 4c 45 4e |*/../* F|LEXFILEN|
|000017c0| 41 4d 45 53 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |AMES. *.|This sym|
|000017d0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|000017e0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|000017f0| 74 68 65 20 73 79 73 74 | 65 6d 20 73 75 70 70 6f |the syst|em suppo|
|00001800| 72 74 73 20 66 69 6c 65 | 6e 61 6d 65 73 0d 20 2a |rts file|names. *|
|00001810| 09 6c 6f 6e 67 65 72 20 | 74 68 61 6e 20 31 34 20 |.longer |than 14 |
|00001820| 63 68 61 72 61 63 74 65 | 72 73 2e 0d 20 2a 2f 0d |characte|rs.. */.|
|00001830| 23 64 65 66 69 6e 65 09 | 46 4c 45 58 46 49 4c 45 |#define.|FLEXFILE|
|00001840| 4e 41 4d 45 53 09 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |NAMES../|**/../* |
|00001850| 48 41 53 5f 46 4c 4f 43 | 4b 0d 20 2a 09 54 68 69 |HAS_FLOC|K. *.Thi|
|00001860| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|00001870| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|00001880| 74 68 61 74 20 74 68 65 | 20 66 6c 6f 63 6b 28 29 |that the| flock()|
|00001890| 20 72 6f 75 74 69 6e 65 | 20 69 73 0d 20 2a 09 61 | routine| is. *.a|
|000018a0| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 64 6f 20 66 |vailable| to do f|
|000018b0| 69 6c 65 20 6c 6f 63 6b | 69 6e 67 2e 0d 20 2a 2f |ile lock|ing.. */|
|000018c0| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 46 4c 4f 43 |.#undef.|HAS_FLOC|
|000018d0| 4b 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |K../**/.|./* HAS_|
|000018e0| 47 45 54 47 52 4f 55 50 | 53 0d 20 2a 09 54 68 69 |GETGROUP|S. *.Thi|
|000018f0| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|00001900| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|00001910| 74 68 61 74 20 74 68 65 | 20 67 65 74 67 72 6f 75 |that the| getgrou|
|00001920| 70 73 28 29 20 72 6f 75 | 74 69 6e 65 20 69 73 0d |ps() rou|tine is.|
|00001930| 20 2a 09 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 | *.avail|able to |
|00001940| 67 65 74 20 74 68 65 20 | 6c 69 73 74 20 6f 66 20 |get the |list of |
|00001950| 70 72 6f 63 65 73 73 20 | 67 72 6f 75 70 73 2e 20 |process |groups. |
|00001960| 20 49 66 20 75 6e 61 76 | 61 69 6c 61 62 6c 65 2c | If unav|ailable,|
|00001970| 20 6d 75 6c 74 69 70 6c | 65 0d 20 2a 09 67 72 6f | multipl|e. *.gro|
|00001980| 75 70 73 20 61 72 65 20 | 70 72 6f 62 61 62 6c 79 |ups are |probably|
|00001990| 20 6e 6f 74 20 73 75 70 | 70 6f 72 74 65 64 2e 0d | not sup|ported..|
|000019a0| 20 2a 2f 0d 23 75 6e 64 | 65 66 09 48 41 53 5f 47 | */.#und|ef.HAS_G|
|000019b0| 45 54 47 52 4f 55 50 53 | 09 09 2f 2a 2a 2f 0d 0d |ETGROUPS|../**/..|
|000019c0| 2f 2a 20 48 41 53 5f 47 | 45 54 48 4f 53 54 45 4e |/* HAS_G|ETHOSTEN|
|000019d0| 54 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |T. *.Thi|s symbol|
|000019e0| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|000019f0| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the|
|00001a00| 20 67 65 74 68 6f 73 74 | 65 6e 74 28 29 20 72 6f | gethost|ent() ro|
|00001a10| 75 74 69 6e 65 20 69 73 | 0d 20 2a 09 61 76 61 69 |utine is|. *.avai|
|00001a20| 6c 61 62 6c 65 20 74 6f | 20 6c 6f 6f 6b 75 70 20 |lable to| lookup |
|00001a30| 68 6f 73 74 20 6e 61 6d | 65 73 20 69 6e 20 73 6f |host nam|es in so|
|00001a40| 6d 65 20 64 61 74 61 20 | 62 61 73 65 20 6f 72 20 |me data |base or |
|00001a50| 6f 74 68 65 72 2e 0d 20 | 2a 2f 0d 23 75 6e 64 65 |other.. |*/.#unde|
|00001a60| 66 09 48 41 53 5f 47 45 | 54 48 4f 53 54 45 4e 54 |f.HAS_GE|THOSTENT|
|00001a70| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 47 |../**/..|/* HAS_G|
|00001a80| 45 54 50 47 52 50 0d 20 | 2a 09 54 68 69 73 20 73 |ETPGRP. |*.This s|
|00001a90| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|00001aa0| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|00001ab0| 74 20 74 68 65 20 67 65 | 74 70 67 72 70 28 29 20 |t the ge|tpgrp() |
|00001ac0| 72 6f 75 74 69 6e 65 20 | 69 73 0d 20 2a 09 61 76 |routine |is. *.av|
|00001ad0| 61 69 6c 61 62 6c 65 20 | 74 6f 20 67 65 74 20 74 |ailable |to get t|
|00001ae0| 68 65 20 63 75 72 72 65 | 6e 74 20 70 72 6f 63 65 |he curre|nt proce|
|00001af0| 73 73 20 67 72 6f 75 70 | 2e 0d 20 2a 2f 0d 23 75 |ss group|.. */.#u|
|00001b00| 6e 64 65 66 09 48 41 53 | 5f 47 45 54 50 47 52 50 |ndef.HAS|_GETPGRP|
|00001b10| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 47 |../**/..|/* HAS_G|
|00001b20| 45 54 50 47 52 50 32 0d | 20 2a 09 54 68 69 73 20 |ETPGRP2.| *.This |
|00001b30| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00001b40| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th|
|00001b50| 61 74 20 74 68 65 20 67 | 65 74 70 67 72 70 32 28 |at the g|etpgrp2(|
|00001b60| 29 20 28 61 73 20 69 6e | 20 44 47 2f 55 58 29 0d |) (as in| DG/UX).|
|00001b70| 20 2a 09 72 6f 75 74 69 | 6e 65 20 69 73 20 61 76 | *.routi|ne is av|
|00001b80| 61 69 6c 61 62 6c 65 20 | 74 6f 20 67 65 74 20 74 |ailable |to get t|
|00001b90| 68 65 20 63 75 72 72 65 | 6e 74 20 70 72 6f 63 65 |he curre|nt proce|
|00001ba0| 73 73 20 67 72 6f 75 70 | 2e 0d 20 2a 2f 0d 23 75 |ss group|.. */.#u|
|00001bb0| 6e 64 65 66 09 48 41 53 | 5f 47 45 54 50 47 52 50 |ndef.HAS|_GETPGRP|
|00001bc0| 32 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |2../**/.|./* HAS_|
|00001bd0| 47 45 54 50 52 49 4f 52 | 49 54 59 0d 20 2a 09 54 |GETPRIOR|ITY. *.T|
|00001be0| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d|
|00001bf0| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate|
|00001c00| 73 20 74 68 61 74 20 74 | 68 65 20 67 65 74 70 72 |s that t|he getpr|
|00001c10| 69 6f 72 69 74 79 28 29 | 20 72 6f 75 74 69 6e 65 |iority()| routine|
|00001c20| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable|
|00001c30| 20 74 6f 20 67 65 74 20 | 61 20 70 72 6f 63 65 73 | to get |a proces|
|00001c40| 73 27 73 20 70 72 69 6f | 72 69 74 79 2e 0d 20 2a |s's prio|rity.. *|
|00001c50| 2f 0d 23 75 6e 64 65 66 | 09 48 41 53 5f 47 45 54 |/.#undef|.HAS_GET|
|00001c60| 50 52 49 4f 52 49 54 59 | 09 09 2f 2a 2a 2f 0d 0d |PRIORITY|../**/..|
|00001c70| 2f 2a 20 48 41 53 5f 48 | 54 4f 4e 53 0d 20 2a 09 |/* HAS_H|TONS. *.|
|00001c80| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00001c90| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00001ca0| 65 73 20 74 68 61 74 20 | 74 68 65 20 68 74 6f 6e |es that |the hton|
|00001cb0| 73 20 72 6f 75 74 69 6e | 65 20 28 61 6e 64 20 66 |s routin|e (and f|
|00001cc0| 72 69 65 6e 64 73 29 0d | 20 2a 09 61 72 65 20 61 |riends).| *.are a|
|00001cd0| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 64 6f 20 6e |vailable| to do n|
|00001ce0| 65 74 77 6f 72 6b 20 6f | 72 64 65 72 20 62 79 74 |etwork o|rder byt|
|00001cf0| 65 20 73 77 61 70 70 69 | 6e 67 2e 0d 20 2a 2f 0d |e swappi|ng.. */.|
|00001d00| 2f 2a 20 48 41 53 5f 48 | 54 4f 4e 4c 0d 20 2a 09 |/* HAS_H|TONL. *.|
|00001d10| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00001d20| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00001d30| 65 73 20 74 68 61 74 20 | 74 68 65 20 68 74 6f 6e |es that |the hton|
|00001d40| 6c 20 72 6f 75 74 69 6e | 65 20 28 61 6e 64 20 66 |l routin|e (and f|
|00001d50| 72 69 65 6e 64 73 29 0d | 20 2a 09 61 72 65 20 61 |riends).| *.are a|
|00001d60| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 64 6f 20 6e |vailable| to do n|
|00001d70| 65 74 77 6f 72 6b 20 6f | 72 64 65 72 20 62 79 74 |etwork o|rder byt|
|00001d80| 65 20 73 77 61 70 70 69 | 6e 67 2e 0d 20 2a 2f 0d |e swappi|ng.. */.|
|00001d90| 2f 2a 20 48 41 53 5f 4e | 54 4f 48 53 0d 20 2a 09 |/* HAS_N|TOHS. *.|
|00001da0| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00001db0| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00001dc0| 65 73 20 74 68 61 74 20 | 74 68 65 20 6e 74 6f 68 |es that |the ntoh|
|00001dd0| 73 20 72 6f 75 74 69 6e | 65 20 28 61 6e 64 20 66 |s routin|e (and f|
|00001de0| 72 69 65 6e 64 73 29 0d | 20 2a 09 61 72 65 20 61 |riends).| *.are a|
|00001df0| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 64 6f 20 6e |vailable| to do n|
|00001e00| 65 74 77 6f 72 6b 20 6f | 72 64 65 72 20 62 79 74 |etwork o|rder byt|
|00001e10| 65 20 73 77 61 70 70 69 | 6e 67 2e 0d 20 2a 2f 0d |e swappi|ng.. */.|
|00001e20| 2f 2a 20 48 41 53 5f 4e | 54 4f 48 4c 0d 20 2a 09 |/* HAS_N|TOHL. *.|
|00001e30| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00001e40| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00001e50| 65 73 20 74 68 61 74 20 | 74 68 65 20 6e 74 6f 68 |es that |the ntoh|
|00001e60| 6c 20 72 6f 75 74 69 6e | 65 20 28 61 6e 64 20 66 |l routin|e (and f|
|00001e70| 72 69 65 6e 64 73 29 0d | 20 2a 09 61 72 65 20 61 |riends).| *.are a|
|00001e80| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 64 6f 20 6e |vailable| to do n|
|00001e90| 65 74 77 6f 72 6b 20 6f | 72 64 65 72 20 62 79 74 |etwork o|rder byt|
|00001ea0| 65 20 73 77 61 70 70 69 | 6e 67 2e 0d 20 2a 2f 0d |e swappi|ng.. */.|
|00001eb0| 23 64 65 66 69 6e 65 09 | 48 41 53 5f 48 54 4f 4e |#define.|HAS_HTON|
|00001ec0| 53 09 2f 2a 2a 2f 0d 23 | 64 65 66 69 6e 65 09 48 |S./**/.#|define.H|
|00001ed0| 41 53 5f 48 54 4f 4e 4c | 09 2f 2a 2a 2f 0d 23 64 |AS_HTONL|./**/.#d|
|00001ee0| 65 66 69 6e 65 09 48 41 | 53 5f 4e 54 4f 48 53 09 |efine.HA|S_NTOHS.|
|00001ef0| 2f 2a 2a 2f 0d 23 64 65 | 66 69 6e 65 09 48 41 53 |/**/.#de|fine.HAS|
|00001f00| 5f 4e 54 4f 48 4c 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |_NTOHL./|**/../* |
|00001f10| 69 6e 64 65 78 0d 20 2a | 09 54 68 69 73 20 70 72 |index. *|.This pr|
|00001f20| 65 70 72 6f 63 65 73 73 | 6f 72 20 73 79 6d 62 6f |eprocess|or symbo|
|00001f30| 6c 20 69 73 20 64 65 66 | 69 6e 65 64 2c 20 61 6c |l is def|ined, al|
|00001f40| 6f 6e 67 20 77 69 74 68 | 20 72 69 6e 64 65 78 2c |ong with| rindex,|
|00001f50| 20 69 66 20 74 68 65 20 | 73 79 73 74 65 6d 0d 20 | if the |system. |
|00001f60| 2a 09 75 73 65 73 20 74 | 68 65 20 73 74 72 63 68 |*.uses t|he strch|
|00001f70| 72 20 61 6e 64 20 73 74 | 72 72 63 68 72 20 72 6f |r and st|rrchr ro|
|00001f80| 75 74 69 6e 65 73 20 69 | 6e 73 74 65 61 64 2e 0d |utines i|nstead..|
|00001f90| 20 2a 2f 0d 2f 2a 20 72 | 69 6e 64 65 78 0d 20 2a | */./* r|index. *|
|00001fa0| 09 54 68 69 73 20 70 72 | 65 70 72 6f 63 65 73 73 |.This pr|eprocess|
|00001fb0| 6f 72 20 73 79 6d 62 6f | 6c 20 69 73 20 64 65 66 |or symbo|l is def|
|00001fc0| 69 6e 65 64 2c 20 61 6c | 6f 6e 67 20 77 69 74 68 |ined, al|ong with|
|00001fd0| 20 69 6e 64 65 78 2c 20 | 69 66 20 74 68 65 20 73 | index, |if the s|
|00001fe0| 79 73 74 65 6d 0d 20 2a | 09 75 73 65 73 20 74 68 |ystem. *|.uses th|
|00001ff0| 65 20 73 74 72 63 68 72 | 20 61 6e 64 20 73 74 72 |e strchr| and str|
|00002000| 72 63 68 72 20 72 6f 75 | 74 69 6e 65 73 20 69 6e |rchr rou|tines in|
|00002010| 73 74 65 61 64 2e 0d 20 | 2a 2f 0d 2f 2a 20 23 64 |stead.. |*/./* #d|
|00002020| 65 66 69 6e 65 09 69 6e | 64 65 78 20 73 74 72 63 |efine.in|dex strc|
|00002030| 68 72 09 2f 2a 20 63 75 | 6c 74 75 72 61 6c 20 2a |hr./* cu|ltural *|
|00002040| 2f 0d 2f 2a 20 23 64 65 | 66 69 6e 65 09 72 69 6e |/./* #de|fine.rin|
|00002050| 64 65 78 20 73 74 72 72 | 63 68 72 09 2f 2a 20 20 |dex strr|chr./* |
|00002060| 64 69 66 66 65 72 65 6e | 63 65 73 3f 20 2a 2f 0d |differen|ces? */.|
|00002070| 0d 2f 2a 20 48 41 53 5f | 49 53 41 53 43 49 49 0d |./* HAS_|ISASCII.|
|00002080| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00002090| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|000020a0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 69 |cates th|at the i|
|000020b0| 73 61 73 63 69 69 20 72 | 6f 75 74 69 6e 65 20 69 |sascii r|outine i|
|000020c0| 73 20 61 76 61 69 6c 61 | 62 6c 65 0d 20 2a 09 74 |s availa|ble. *.t|
|000020d0| 6f 20 74 65 73 74 20 63 | 68 61 72 61 63 74 65 72 |o test c|haracter|
|000020e0| 73 20 66 6f 72 20 61 73 | 63 69 69 6e 65 73 73 2e |s for as|ciiness.|
|000020f0| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 48 41 53 |. */.#de|fine.HAS|
|00002100| 5f 49 53 41 53 43 49 49 | 09 09 2f 2a 2a 2f 0d 0d |_ISASCII|../**/..|
|00002110| 2f 2a 20 48 41 53 5f 4b | 49 4c 4c 50 47 0d 20 2a |/* HAS_K|ILLPG. *|
|00002120| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00002130| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00002140| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 6b 69 6c |tes that| the kil|
|00002150| 6c 70 67 20 72 6f 75 74 | 69 6e 65 20 69 73 20 61 |lpg rout|ine is a|
|00002160| 76 61 69 6c 61 62 6c 65 | 0d 20 2a 09 74 6f 20 6b |vailable|. *.to k|
|00002170| 69 6c 6c 20 70 72 6f 63 | 65 73 73 20 67 72 6f 75 |ill proc|ess grou|
|00002180| 70 73 2e 20 20 49 66 20 | 75 6e 61 76 61 69 6c 61 |ps. If |unavaila|
|00002190| 62 6c 65 2c 20 79 6f 75 | 20 70 72 6f 62 61 62 6c |ble, you| probabl|
|000021a0| 79 20 73 68 6f 75 6c 64 | 20 75 73 65 20 6b 69 6c |y should| use kil|
|000021b0| 6c 0d 20 2a 09 77 69 74 | 68 20 61 20 6e 65 67 61 |l. *.wit|h a nega|
|000021c0| 74 69 76 65 20 70 72 6f | 63 65 73 73 20 6e 75 6d |tive pro|cess num|
|000021d0| 62 65 72 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |ber.. */|.#undef.|
|000021e0| 48 41 53 5f 4b 49 4c 4c | 50 47 09 09 2f 2a 2a 2f |HAS_KILL|PG../**/|
|000021f0| 0d 0d 2f 2a 20 48 41 53 | 5f 4c 53 54 41 54 0d 20 |../* HAS|_LSTAT. |
|00002200| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i|
|00002210| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic|
|00002220| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 6c 73 |ates tha|t the ls|
|00002230| 74 61 74 28 29 20 72 6f | 75 74 69 6e 65 20 69 73 |tat() ro|utine is|
|00002240| 0d 20 2a 09 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |. *.avai|lable to|
|00002250| 20 73 74 61 74 20 73 79 | 6d 62 6f 6c 69 63 20 6c | stat sy|mbolic l|
|00002260| 69 6e 6b 73 2e 0d 20 2a | 2f 0d 23 64 65 66 69 6e |inks.. *|/.#defin|
|00002270| 65 09 48 41 53 5f 4c 53 | 54 41 54 09 09 2f 2a 2a |e.HAS_LS|TAT../**|
|00002280| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 4d 45 4d 43 4d 50 |/../* HA|S_MEMCMP|
|00002290| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|000022a0| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|000022b0| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|000022c0| 6d 65 6d 63 6d 70 20 72 | 6f 75 74 69 6e 65 20 69 |memcmp r|outine i|
|000022d0| 73 20 61 76 61 69 6c 61 | 62 6c 65 0d 20 2a 09 74 |s availa|ble. *.t|
|000022e0| 6f 20 63 6f 6d 70 61 72 | 65 20 62 6c 6f 63 6b 73 |o compar|e blocks|
|000022f0| 20 6f 66 20 6d 65 6d 6f | 72 79 2e 20 20 49 66 20 | of memo|ry. If |
|00002300| 75 6e 64 65 66 69 6e 65 | 64 2c 20 72 6f 6c 6c 20 |undefine|d, roll |
|00002310| 79 6f 75 72 20 6f 77 6e | 2e 0d 20 2a 2f 0d 23 64 |your own|.. */.#d|
|00002320| 65 66 69 6e 65 09 48 41 | 53 5f 4d 45 4d 43 4d 50 |efine.HA|S_MEMCMP|
|00002330| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 4d |../**/..|/* HAS_M|
|00002340| 45 4d 43 50 59 0d 20 2a | 09 54 68 69 73 20 73 79 |EMCPY. *|.This sy|
|00002350| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined|
|00002360| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that|
|00002370| 20 74 68 65 20 6d 65 6d | 63 70 79 20 72 6f 75 74 | the mem|cpy rout|
|00002380| 69 6e 65 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ine is a|vailable|
|00002390| 0d 20 2a 09 74 6f 20 63 | 6f 70 79 20 62 6c 6f 63 |. *.to c|opy bloc|
|000023a0| 6b 73 20 6f 66 20 6d 65 | 6d 6f 72 79 2e 20 20 4f |ks of me|mory. O|
|000023b0| 74 68 65 72 77 69 73 65 | 20 79 6f 75 20 73 68 6f |therwise| you sho|
|000023c0| 75 6c 64 20 70 72 6f 62 | 61 62 6c 79 20 75 73 65 |uld prob|ably use|
|000023d0| 20 62 63 6f 70 79 28 29 | 2e 0d 20 2a 09 49 66 20 | bcopy()|.. *.If |
|000023e0| 6e 65 69 74 68 65 72 20 | 69 73 20 64 65 66 69 6e |neither |is defin|
|000023f0| 65 64 2c 20 72 6f 6c 6c | 20 79 6f 75 72 20 6f 77 |ed, roll| your ow|
|00002400| 6e 2e 0d 20 2a 2f 0d 2f | 2a 20 53 41 46 45 5f 4d |n.. */./|* SAFE_M|
|00002410| 45 4d 43 50 59 0d 20 2a | 09 54 68 69 73 20 73 79 |EMCPY. *|.This sy|
|00002420| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined|
|00002430| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that|
|00002440| 20 74 68 65 20 6d 65 6d | 63 70 79 20 72 6f 75 74 | the mem|cpy rout|
|00002450| 69 6e 65 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ine is a|vailable|
|00002460| 0d 20 2a 09 74 6f 20 63 | 6f 70 79 20 70 6f 74 65 |. *.to c|opy pote|
|00002470| 6e 74 69 61 6c 6c 79 20 | 6f 76 65 72 6c 61 70 70 |ntially |overlapp|
|00002480| 69 6e 67 20 63 6f 70 79 | 20 62 6c 6f 63 6b 73 20 |ing copy| blocks |
|00002490| 6f 66 20 6d 65 6d 6f 72 | 79 2e 20 20 4f 74 68 65 |of memor|y. Othe|
|000024a0| 72 77 69 73 65 20 79 6f | 75 0d 20 2a 09 73 68 6f |rwise yo|u. *.sho|
|000024b0| 75 6c 64 20 70 72 6f 62 | 61 62 6c 79 20 75 73 65 |uld prob|ably use|
|000024c0| 20 6d 65 6d 6d 6f 76 65 | 28 29 20 6f 72 20 62 63 | memmove|() or bc|
|000024d0| 6f 70 79 28 29 2e 20 20 | 49 66 20 6e 65 69 74 68 |opy(). |If neith|
|000024e0| 65 72 20 69 73 20 64 65 | 66 69 6e 65 64 2c 0d 20 |er is de|fined,. |
|000024f0| 2a 09 72 6f 6c 6c 20 79 | 6f 75 72 20 6f 77 6e 2e |*.roll y|our own.|
|00002500| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 48 41 53 |. */.#de|fine.HAS|
|00002510| 5f 4d 45 4d 43 50 59 09 | 09 2f 2a 2a 2f 0d 2f 2a |_MEMCPY.|./**/./*|
|00002520| 23 75 6e 64 65 66 09 53 | 41 46 45 5f 4d 45 4d 43 |#undef.S|AFE_MEMC|
|00002530| 50 59 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 48 41 53 |PY../**/|../* HAS|
|00002540| 5f 4d 45 4d 4d 4f 56 45 | 0d 20 2a 09 54 68 69 73 |_MEMMOVE|. *.This|
|00002550| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi|
|00002560| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t|
|00002570| 68 61 74 20 74 68 65 20 | 6d 65 6d 6d 6f 76 65 20 |hat the |memmove |
|00002580| 72 6f 75 74 69 6e 65 20 | 69 73 20 61 76 61 69 6c |routine |is avail|
|00002590| 61 62 6c 65 0d 20 2a 09 | 74 6f 20 6d 6f 76 65 20 |able. *.|to move |
|000025a0| 70 6f 74 65 6e 74 69 61 | 6c 6c 79 20 6f 76 65 72 |potentia|lly over|
|000025b0| 6c 61 70 70 69 6e 67 20 | 62 6c 6f 63 6b 73 20 6f |lapping |blocks o|
|000025c0| 66 20 6d 65 6d 6f 72 79 | 2e 20 20 4f 74 68 65 72 |f memory|. Other|
|000025d0| 77 69 73 65 20 79 6f 75 | 0d 20 2a 09 73 68 6f 75 |wise you|. *.shou|
|000025e0| 6c 64 20 75 73 65 20 62 | 63 6f 70 79 28 29 20 6f |ld use b|copy() o|
|000025f0| 72 20 72 6f 6c 6c 20 79 | 6f 75 72 20 6f 77 6e 2e |r roll y|our own.|
|00002600| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 48 41 53 |. */.#de|fine.HAS|
|00002610| 5f 4d 45 4d 4d 4f 56 45 | 09 09 2f 2a 2a 2f 0d 0d |_MEMMOVE|../**/..|
|00002620| 2f 2a 20 48 41 53 5f 4d | 45 4d 53 45 54 0d 20 2a |/* HAS_M|EMSET. *|
|00002630| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00002640| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00002650| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 6d 65 6d |tes that| the mem|
|00002660| 73 65 74 20 72 6f 75 74 | 69 6e 65 20 69 73 20 61 |set rout|ine is a|
|00002670| 76 61 69 6c 61 62 6c 65 | 0d 20 2a 09 74 6f 20 73 |vailable|. *.to s|
|00002680| 65 74 20 61 20 62 6c 6f | 63 6b 20 6f 66 20 6d 65 |et a blo|ck of me|
|00002690| 6d 6f 72 79 20 74 6f 20 | 61 20 63 68 61 72 61 63 |mory to |a charac|
|000026a0| 74 65 72 2e 20 20 49 66 | 20 75 6e 64 65 66 69 6e |ter. If| undefin|
|000026b0| 65 64 2c 20 72 6f 6c 6c | 20 79 6f 75 72 20 6f 77 |ed, roll| your ow|
|000026c0| 6e 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 48 |n.. */.#|define.H|
|000026d0| 41 53 5f 4d 45 4d 53 45 | 54 09 09 2f 2a 2a 2f 0d |AS_MEMSE|T../**/.|
|000026e0| 0d 2f 2a 20 48 41 53 5f | 4d 4b 44 49 52 0d 20 2a |./* HAS_|MKDIR. *|
|000026f0| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00002700| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00002710| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 6d 6b 64 |tes that| the mkd|
|00002720| 69 72 20 72 6f 75 74 69 | 6e 65 20 69 73 20 61 76 |ir routi|ne is av|
|00002730| 61 69 6c 61 62 6c 65 0d | 20 2a 09 74 6f 20 63 72 |ailable.| *.to cr|
|00002740| 65 61 74 65 20 64 69 72 | 65 63 74 6f 72 69 65 73 |eate dir|ectories|
|00002750| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 20 79 6f 75 |. Other|wise you|
|00002760| 20 73 68 6f 75 6c 64 20 | 66 6f 72 6b 20 6f 66 66 | should |fork off|
|00002770| 20 61 20 6e 65 77 20 70 | 72 6f 63 65 73 73 20 74 | a new p|rocess t|
|00002780| 6f 0d 20 2a 09 65 78 65 | 63 20 2f 62 69 6e 2f 6d |o. *.exe|c /bin/m|
|00002790| 6b 64 69 72 2e 0d 20 2a | 2f 0d 23 64 65 66 69 6e |kdir.. *|/.#defin|
|000027a0| 65 09 48 41 53 5f 4d 4b | 44 49 52 09 09 2f 2a 2a |e.HAS_MK|DIR../**|
|000027b0| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 4d 53 47 0d 20 2a |/../* HA|S_MSG. *|
|000027c0| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|000027d0| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|000027e0| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 65 6e 74 |tes that| the ent|
|000027f0| 69 72 65 20 6d 73 67 2a | 28 32 29 20 6c 69 62 72 |ire msg*|(2) libr|
|00002800| 61 72 79 20 69 73 0d 20 | 2a 09 73 75 70 70 6f 72 |ary is. |*.suppor|
|00002810| 74 65 64 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |ted.. */|.#undef.|
|00002820| 48 41 53 5f 4d 53 47 09 | 09 2f 2a 2a 2f 0d 0d 2f |HAS_MSG.|./**/../|
|00002830| 2a 20 48 41 53 5f 4d 53 | 47 43 54 4c 0d 20 2a 09 |* HAS_MS|GCTL. *.|
|00002840| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00002850| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00002860| 65 73 20 74 68 61 74 20 | 74 68 65 20 6d 73 67 63 |es that |the msgc|
|00002870| 74 6c 28 29 20 72 6f 75 | 74 69 6e 65 20 69 73 0d |tl() rou|tine is.|
|00002880| 20 2a 09 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 | *.avail|able to |
|00002890| 63 6f 6e 74 72 6f 6c 20 | 6d 65 73 73 61 67 65 20 |control |message |
|000028a0| 70 61 73 73 69 6e 67 2e | 0d 20 2a 2f 0d 23 75 6e |passing.|. */.#un|
|000028b0| 64 65 66 09 48 41 53 5f | 4d 53 47 43 54 4c 09 09 |def.HAS_|MSGCTL..|
|000028c0| 2f 2a 2a 2f 0d 0d 2f 2a | 20 48 41 53 5f 4d 53 47 |/**/../*| HAS_MSG|
|000028d0| 47 45 54 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |GET. *.T|his symb|
|000028e0| 6f 6c 2c 20 69 66 20 64 | 65 66 69 6e 65 64 2c 20 |ol, if d|efined, |
|000028f0| 69 6e 64 69 63 61 74 65 | 73 20 74 68 61 74 20 74 |indicate|s that t|
|00002900| 68 65 20 6d 73 67 67 65 | 74 28 29 20 72 6f 75 74 |he msgge|t() rout|
|00002910| 69 6e 65 20 69 73 0d 20 | 2a 09 61 76 61 69 6c 61 |ine is. |*.availa|
|00002920| 62 6c 65 20 74 6f 20 67 | 65 74 20 6d 65 73 73 61 |ble to g|et messa|
|00002930| 67 65 73 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |ges.. */|.#define|
|00002940| 09 48 41 53 5f 4d 53 47 | 47 45 54 09 09 2f 2a 2a |.HAS_MSG|GET../**|
|00002950| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 4d 53 47 52 43 56 |/../* HA|S_MSGRCV|
|00002960| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00002970| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00002980| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00002990| 6d 73 67 72 63 76 28 29 | 20 72 6f 75 74 69 6e 65 |msgrcv()| routine|
|000029a0| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable|
|000029b0| 20 74 6f 20 72 65 63 65 | 69 76 65 20 6d 65 73 73 | to rece|ive mess|
|000029c0| 61 67 65 73 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |ages.. *|/.#undef|
|000029d0| 09 48 41 53 5f 4d 53 47 | 52 43 56 09 09 2f 2a 2a |.HAS_MSG|RCV../**|
|000029e0| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 4d 53 47 53 4e 44 |/../* HA|S_MSGSND|
|000029f0| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00002a00| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00002a10| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00002a20| 6d 73 67 73 6e 64 28 29 | 20 72 6f 75 74 69 6e 65 |msgsnd()| routine|
|00002a30| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable|
|00002a40| 20 74 6f 20 73 65 6e 64 | 20 6d 65 73 73 61 67 65 | to send| message|
|00002a50| 73 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 09 48 41 |s.. */.#|undef.HA|
|00002a60| 53 5f 4d 53 47 53 4e 44 | 09 09 2f 2a 2a 2f 0d 0d |S_MSGSND|../**/..|
|00002a70| 2f 2a 20 48 41 53 5f 47 | 44 42 4d 0d 20 2a 09 54 |/* HAS_G|DBM. *.T|
|00002a80| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d|
|00002a90| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate|
|00002aa0| 73 20 74 68 61 74 20 67 | 64 62 6d 2e 68 20 65 78 |s that g|dbm.h ex|
|00002ab0| 69 73 74 73 20 61 6e 64 | 20 73 68 6f 75 6c 64 0d |ists and| should.|
|00002ac0| 20 2a 09 62 65 20 69 6e | 63 6c 75 64 65 64 2e 0d | *.be in|cluded..|
|00002ad0| 20 2a 2f 0d 23 75 6e 64 | 65 66 09 48 41 53 5f 47 | */.#und|ef.HAS_G|
|00002ae0| 44 42 4d 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |DBM../**|/../* HA|
|00002af0| 53 5f 4e 44 42 4d 0d 20 | 2a 09 54 68 69 73 20 73 |S_NDBM. |*.This s|
|00002b00| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|00002b10| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|00002b20| 74 20 6e 64 62 6d 2e 68 | 20 65 78 69 73 74 73 20 |t ndbm.h| exists |
|00002b30| 61 6e 64 20 73 68 6f 75 | 6c 64 0d 20 2a 09 62 65 |and shou|ld. *.be|
|00002b40| 20 69 6e 63 6c 75 64 65 | 64 2e 0d 20 2a 2f 0d 23 | include|d.. */.#|
|00002b50| 64 65 66 69 6e 65 09 48 | 41 53 5f 4e 44 42 4d 09 |define.H|AS_NDBM.|
|00002b60| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 4f 44 |./**/../|* HAS_OD|
|00002b70| 42 4d 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |BM. *.Th|is symbo|
|00002b80| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i|
|00002b90| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 64 62 |ndicates| that db|
|00002ba0| 6d 2e 68 20 65 78 69 73 | 74 73 20 61 6e 64 20 73 |m.h exis|ts and s|
|00002bb0| 68 6f 75 6c 64 0d 20 2a | 09 62 65 20 69 6e 63 6c |hould. *|.be incl|
|00002bc0| 75 64 65 64 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |uded.. *|/.#undef|
|00002bd0| 09 48 41 53 5f 4f 44 42 | 4d 09 09 2f 2a 2a 2f 0d |.HAS_ODB|M../**/.|
|00002be0| 0d 2f 2a 20 48 41 53 5f | 4f 50 45 4e 33 0d 20 2a |./* HAS_|OPEN3. *|
|00002bf0| 09 54 68 69 73 20 6d 61 | 6e 69 66 65 73 74 20 63 |.This ma|nifest c|
|00002c00| 6f 6e 73 74 61 6e 74 20 | 6c 65 74 73 20 74 68 65 |onstant |lets the|
|00002c10| 20 43 20 70 72 6f 67 72 | 61 6d 20 6b 6e 6f 77 20 | C progr|am know |
|00002c20| 74 68 61 74 20 74 68 65 | 20 74 68 72 65 65 0d 20 |that the| three. |
|00002c30| 2a 09 61 72 67 75 6d 65 | 6e 74 20 66 6f 72 6d 20 |*.argume|nt form |
|00002c40| 6f 66 20 6f 70 65 6e 28 | 32 29 20 69 73 20 61 76 |of open(|2) is av|
|00002c50| 61 69 6c 61 62 6c 65 2e | 0d 20 2a 2f 0d 23 75 6e |ailable.|. */.#un|
|00002c60| 64 65 66 09 48 41 53 5f | 4f 50 45 4e 33 09 09 2f |def.HAS_|OPEN3../|
|00002c70| 2a 2a 2f 0d 0d 2f 2a 20 | 48 41 53 5f 52 45 41 44 |**/../* |HAS_READ|
|00002c80| 44 49 52 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |DIR. *.T|his symb|
|00002c90| 6f 6c 2c 20 69 66 20 64 | 65 66 69 6e 65 64 2c 20 |ol, if d|efined, |
|00002ca0| 69 6e 64 69 63 61 74 65 | 73 20 74 68 61 74 20 74 |indicate|s that t|
|00002cb0| 68 65 20 72 65 61 64 64 | 69 72 20 72 6f 75 74 69 |he readd|ir routi|
|00002cc0| 6e 65 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 0d |ne is av|ailable.|
|00002cd0| 20 2a 09 66 72 6f 6d 20 | 74 68 65 20 43 20 6c 69 | *.from |the C li|
|00002ce0| 62 72 61 72 79 20 74 6f | 20 72 65 61 64 20 64 69 |brary to| read di|
|00002cf0| 72 65 63 74 6f 72 69 65 | 73 2e 0d 20 2a 2f 0d 23 |rectorie|s.. */.#|
|00002d00| 64 65 66 69 6e 65 09 48 | 41 53 5f 52 45 41 44 44 |define.H|AS_READD|
|00002d10| 49 52 09 09 2f 2a 2a 2f | 0d 0d 2f 2a 20 48 41 53 |IR../**/|../* HAS|
|00002d20| 5f 52 45 4e 41 4d 45 0d | 20 2a 09 54 68 69 73 20 |_RENAME.| *.This |
|00002d30| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00002d40| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th|
|00002d50| 61 74 20 74 68 65 20 72 | 65 6e 61 6d 65 20 72 6f |at the r|ename ro|
|00002d60| 75 74 69 6e 65 20 69 73 | 20 61 76 61 69 6c 61 62 |utine is| availab|
|00002d70| 6c 65 0d 20 2a 09 74 6f | 20 72 65 6e 61 6d 65 20 |le. *.to| rename |
|00002d80| 66 69 6c 65 73 2e 20 20 | 4f 74 68 65 72 77 69 73 |files. |Otherwis|
|00002d90| 65 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 64 6f 20 |e you sh|ould do |
|00002da0| 74 68 65 20 75 6e 6c 69 | 6e 6b 28 29 2c 20 6c 69 |the unli|nk(), li|
|00002db0| 6e 6b 28 29 2c 20 75 6e | 6c 69 6e 6b 28 29 0d 20 |nk(), un|link(). |
|00002dc0| 2a 09 74 72 69 63 6b 2e | 0d 20 2a 2f 0d 23 64 65 |*.trick.|. */.#de|
|00002dd0| 66 69 6e 65 09 48 41 53 | 5f 52 45 4e 41 4d 45 09 |fine.HAS|_RENAME.|
|00002de0| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 52 45 |./**/../|* HAS_RE|
|00002df0| 57 49 4e 44 44 49 52 0d | 20 2a 09 54 68 69 73 20 |WINDDIR.| *.This |
|00002e00| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00002e10| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th|
|00002e20| 61 74 20 74 68 65 20 72 | 65 77 69 6e 64 69 72 20 |at the r|ewindir |
|00002e30| 72 6f 75 74 69 6e 65 20 | 69 73 0d 20 2a 09 61 76 |routine |is. *.av|
|00002e40| 61 69 6c 61 62 6c 65 20 | 74 6f 20 72 65 77 69 6e |ailable |to rewin|
|00002e50| 64 20 64 69 72 65 63 74 | 6f 72 69 65 73 2e 0d 20 |d direct|ories.. |
|00002e60| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 48 41 53 5f 52 |*/.#defi|ne.HAS_R|
|00002e70| 45 57 49 4e 44 44 49 52 | 09 09 2f 2a 2a 2f 0d 0d |EWINDDIR|../**/..|
|00002e80| 2f 2a 20 48 41 53 5f 52 | 4d 44 49 52 0d 20 2a 09 |/* HAS_R|MDIR. *.|
|00002e90| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00002ea0| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00002eb0| 65 73 20 74 68 61 74 20 | 74 68 65 20 72 6d 64 69 |es that |the rmdi|
|00002ec0| 72 20 72 6f 75 74 69 6e | 65 20 69 73 20 61 76 61 |r routin|e is ava|
|00002ed0| 69 6c 61 62 6c 65 0d 20 | 2a 09 74 6f 20 72 65 6d |ilable. |*.to rem|
|00002ee0| 6f 76 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 2e |ove dire|ctories.|
|00002ef0| 20 20 4f 74 68 65 72 77 | 69 73 65 20 79 6f 75 20 | Otherw|ise you |
|00002f00| 73 68 6f 75 6c 64 20 66 | 6f 72 6b 20 6f 66 66 20 |should f|ork off |
|00002f10| 61 20 6e 65 77 20 70 72 | 6f 63 65 73 73 20 74 6f |a new pr|ocess to|
|00002f20| 0d 20 2a 09 65 78 65 63 | 20 2f 62 69 6e 2f 72 6d |. *.exec| /bin/rm|
|00002f30| 64 69 72 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |dir.. */|.#define|
|00002f40| 09 48 41 53 5f 52 4d 44 | 49 52 09 09 2f 2a 2a 2f |.HAS_RMD|IR../**/|
|00002f50| 0d 0d 2f 2a 20 48 41 53 | 5f 53 45 45 4b 44 49 52 |../* HAS|_SEEKDIR|
|00002f60| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00002f70| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00002f80| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00002f90| 73 65 65 6b 64 69 72 20 | 72 6f 75 74 69 6e 65 20 |seekdir |routine |
|00002fa0| 69 73 0d 20 2a 09 61 76 | 61 69 6c 61 62 6c 65 20 |is. *.av|ailable |
|00002fb0| 74 6f 20 73 65 65 6b 20 | 69 6e 74 6f 20 64 69 72 |to seek |into dir|
|00002fc0| 65 63 74 6f 72 69 65 73 | 2e 0d 20 2a 2f 0d 23 64 |ectories|.. */.#d|
|00002fd0| 65 66 69 6e 65 09 48 41 | 53 5f 53 45 45 4b 44 49 |efine.HA|S_SEEKDI|
|00002fe0| 52 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |R../**/.|./* HAS_|
|00002ff0| 53 45 4c 45 43 54 0d 20 | 2a 09 54 68 69 73 20 73 |SELECT. |*.This s|
|00003000| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|00003010| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|00003020| 74 20 74 68 65 20 73 65 | 6c 65 63 74 28 29 20 73 |t the se|lect() s|
|00003030| 75 62 72 6f 75 74 69 6e | 65 0d 20 2a 09 65 78 69 |ubroutin|e. *.exi|
|00003040| 73 74 73 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |sts.. */|.#define|
|00003050| 09 48 41 53 5f 53 45 4c | 45 43 54 09 2f 2a 2a 2f |.HAS_SEL|ECT./**/|
|00003060| 0d 0d 2f 2a 20 48 41 53 | 5f 53 45 4d 0d 20 2a 09 |../* HAS|_SEM. *.|
|00003070| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00003080| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00003090| 65 73 20 74 68 61 74 20 | 74 68 65 20 65 6e 74 69 |es that |the enti|
|000030a0| 72 65 20 73 65 6d 2a 28 | 32 29 20 6c 69 62 72 61 |re sem*(|2) libra|
|000030b0| 72 79 20 69 73 0d 20 2a | 09 73 75 70 70 6f 72 74 |ry is. *|.support|
|000030c0| 65 64 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 48 |ed.. */.|#undef.H|
|000030d0| 41 53 5f 53 45 4d 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |AS_SEM..|/**/../*|
|000030e0| 20 48 41 53 5f 53 45 4d | 43 54 4c 0d 20 2a 09 54 | HAS_SEM|CTL. *.T|
|000030f0| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d|
|00003100| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate|
|00003110| 73 20 74 68 61 74 20 74 | 68 65 20 73 65 6d 63 74 |s that t|he semct|
|00003120| 6c 28 29 20 72 6f 75 74 | 69 6e 65 20 69 73 0d 20 |l() rout|ine is. |
|00003130| 2a 09 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 63 |*.availa|ble to c|
|00003140| 6f 6e 74 72 6f 6c 20 73 | 65 6d 61 70 68 6f 72 65 |ontrol s|emaphore|
|00003150| 73 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 09 48 41 |s.. */.#|undef.HA|
|00003160| 53 5f 53 45 4d 43 54 4c | 09 09 2f 2a 2a 2f 0d 0d |S_SEMCTL|../**/..|
|00003170| 2f 2a 20 48 41 53 5f 53 | 45 4d 47 45 54 0d 20 2a |/* HAS_S|EMGET. *|
|00003180| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00003190| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|000031a0| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 73 65 6d |tes that| the sem|
|000031b0| 67 65 74 28 29 20 72 6f | 75 74 69 6e 65 20 69 73 |get() ro|utine is|
|000031c0| 0d 20 2a 09 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |. *.avai|lable to|
|000031d0| 20 67 65 74 20 73 65 6d | 61 70 68 6f 72 65 73 20 | get sem|aphores |
|000031e0| 69 64 73 2e 0d 20 2a 2f | 0d 23 75 6e 64 65 66 09 |ids.. */|.#undef.|
|000031f0| 48 41 53 5f 53 45 4d 47 | 45 54 09 09 2f 2a 2a 2f |HAS_SEMG|ET../**/|
|00003200| 0d 0d 2f 2a 20 48 41 53 | 5f 53 45 4d 4f 50 0d 20 |../* HAS|_SEMOP. |
|00003210| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 2c 20 69 |*.This s|ymbol, i|
|00003220| 66 20 64 65 66 69 6e 65 | 64 2c 20 69 6e 64 69 63 |f define|d, indic|
|00003230| 61 74 65 73 20 74 68 61 | 74 20 74 68 65 20 73 65 |ates tha|t the se|
|00003240| 6d 6f 70 28 29 20 72 6f | 75 74 69 6e 65 20 69 73 |mop() ro|utine is|
|00003250| 0d 20 2a 09 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |. *.avai|lable to|
|00003260| 20 70 65 72 66 6f 72 6d | 20 73 65 6d 61 70 68 6f | perform| semapho|
|00003270| 72 65 20 6f 70 65 72 61 | 74 69 6f 6e 73 2e 0d 20 |re opera|tions.. |
|00003280| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 53 45 |*/.#unde|f.HAS_SE|
|00003290| 4d 4f 50 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |MOP../**|/../* HA|
|000032a0| 53 5f 53 45 54 45 47 49 | 44 0d 20 2a 09 54 68 69 |S_SETEGI|D. *.Thi|
|000032b0| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|000032c0| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|000032d0| 74 68 61 74 20 74 68 65 | 20 73 65 74 65 67 69 64 |that the| setegid|
|000032e0| 20 72 6f 75 74 69 6e 65 | 20 69 73 20 61 76 61 69 | routine| is avai|
|000032f0| 6c 61 62 6c 65 0d 20 2a | 09 74 6f 20 63 68 61 6e |lable. *|.to chan|
|00003300| 67 65 20 74 68 65 20 65 | 66 66 65 63 74 69 76 65 |ge the e|ffective|
|00003310| 20 67 69 64 20 6f 66 20 | 74 68 65 20 63 75 72 72 | gid of |the curr|
|00003320| 65 6e 74 20 70 72 6f 67 | 72 61 6d 2e 0d 20 2a 2f |ent prog|ram.. */|
|00003330| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 53 45 54 45 |.#undef.|HAS_SETE|
|00003340| 47 49 44 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |GID../**|/../* HA|
|00003350| 53 5f 53 45 54 45 55 49 | 44 0d 20 2a 09 54 68 69 |S_SETEUI|D. *.Thi|
|00003360| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|00003370| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|00003380| 74 68 61 74 20 74 68 65 | 20 73 65 74 65 75 69 64 |that the| seteuid|
|00003390| 20 72 6f 75 74 69 6e 65 | 20 69 73 20 61 76 61 69 | routine| is avai|
|000033a0| 6c 61 62 6c 65 0d 20 2a | 09 74 6f 20 63 68 61 6e |lable. *|.to chan|
|000033b0| 67 65 20 74 68 65 20 65 | 66 66 65 63 74 69 76 65 |ge the e|ffective|
|000033c0| 20 75 69 64 20 6f 66 20 | 74 68 65 20 63 75 72 72 | uid of |the curr|
|000033d0| 65 6e 74 20 70 72 6f 67 | 72 61 6d 2e 0d 20 2a 2f |ent prog|ram.. */|
|000033e0| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 53 45 54 45 |.#undef.|HAS_SETE|
|000033f0| 55 49 44 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |UID../**|/../* HA|
|00003400| 53 5f 53 45 54 50 47 52 | 50 0d 20 2a 09 54 68 69 |S_SETPGR|P. *.Thi|
|00003410| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|00003420| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|00003430| 74 68 61 74 20 74 68 65 | 20 73 65 74 70 67 72 70 |that the| setpgrp|
|00003440| 28 29 20 72 6f 75 74 69 | 6e 65 20 69 73 0d 20 2a |() routi|ne is. *|
|00003450| 09 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 73 65 |.availab|le to se|
|00003460| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 70 72 |t the cu|rrent pr|
|00003470| 6f 63 65 73 73 20 67 72 | 6f 75 70 2e 0d 20 2a 2f |ocess gr|oup.. */|
|00003480| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 53 45 54 50 |.#undef.|HAS_SETP|
|00003490| 47 52 50 09 09 2f 2a 2a | 2f 0d 0d 2f 2a 20 48 41 |GRP../**|/../* HA|
|000034a0| 53 5f 53 45 54 50 47 52 | 50 32 0d 20 2a 09 54 68 |S_SETPGR|P2. *.Th|
|000034b0| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de|
|000034c0| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates|
|000034d0| 20 74 68 61 74 20 74 68 | 65 20 73 65 74 70 67 72 | that th|e setpgr|
|000034e0| 70 32 28 29 20 28 61 73 | 20 69 6e 20 44 47 2f 55 |p2() (as| in DG/U|
|000034f0| 58 29 0d 20 2a 09 72 6f | 75 74 69 6e 65 20 69 73 |X). *.ro|utine is|
|00003500| 20 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 73 65 | availab|le to se|
|00003510| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 70 72 |t the cu|rrent pr|
|00003520| 6f 63 65 73 73 20 67 72 | 6f 75 70 2e 0d 20 2a 2f |ocess gr|oup.. */|
|00003530| 0d 2f 2a 23 75 6e 64 65 | 66 09 48 41 53 5f 53 45 |./*#unde|f.HAS_SE|
|00003540| 54 50 47 52 50 32 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |TPGRP2..|/**/../*|
|00003550| 20 48 41 53 5f 53 45 54 | 50 52 49 4f 52 49 54 59 | HAS_SET|PRIORITY|
|00003560| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00003570| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00003580| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|00003590| 73 65 74 70 72 69 6f 72 | 69 74 79 28 29 20 72 6f |setprior|ity() ro|
|000035a0| 75 74 69 6e 65 20 69 73 | 0d 20 2a 09 61 76 61 69 |utine is|. *.avai|
|000035b0| 6c 61 62 6c 65 20 74 6f | 20 73 65 74 20 61 20 70 |lable to| set a p|
|000035c0| 72 6f 63 65 73 73 27 73 | 20 70 72 69 6f 72 69 74 |rocess's| priorit|
|000035d0| 79 2e 0d 20 2a 2f 0d 23 | 75 6e 64 65 66 09 48 41 |y.. */.#|undef.HA|
|000035e0| 53 5f 53 45 54 50 52 49 | 4f 52 49 54 59 09 09 2f |S_SETPRI|ORITY../|
|000035f0| 2a 2a 2f 0d 0d 2f 2a 20 | 48 41 53 5f 53 45 54 52 |**/../* |HAS_SETR|
|00003600| 45 47 49 44 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |EGID. *.|This sym|
|00003610| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|00003620| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|00003630| 74 68 65 20 73 65 74 72 | 65 67 69 64 20 72 6f 75 |the setr|egid rou|
|00003640| 74 69 6e 65 20 69 73 0d | 20 2a 09 61 76 61 69 6c |tine is.| *.avail|
|00003650| 61 62 6c 65 20 74 6f 20 | 63 68 61 6e 67 65 20 74 |able to |change t|
|00003660| 68 65 20 72 65 61 6c 20 | 61 6e 64 20 65 66 66 65 |he real |and effe|
|00003670| 63 74 69 76 65 20 67 69 | 64 20 6f 66 20 74 68 65 |ctive gi|d of the|
|00003680| 20 63 75 72 72 65 6e 74 | 20 70 72 6f 67 72 61 6d | current| program|
|00003690| 2e 0d 20 2a 2f 0d 2f 2a | 20 48 41 53 5f 53 45 54 |.. */./*| HAS_SET|
|000036a0| 52 45 53 47 49 44 0d 20 | 2a 09 54 68 69 73 20 73 |RESGID. |*.This s|
|000036b0| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|000036c0| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|000036d0| 74 20 74 68 65 20 73 65 | 74 72 65 73 67 69 64 20 |t the se|tresgid |
|000036e0| 72 6f 75 74 69 6e 65 20 | 69 73 0d 20 2a 09 61 76 |routine |is. *.av|
|000036f0| 61 69 6c 61 62 6c 65 20 | 74 6f 20 63 68 61 6e 67 |ailable |to chang|
|00003700| 65 20 74 68 65 20 72 65 | 61 6c 2c 20 65 66 66 65 |e the re|al, effe|
|00003710| 63 74 69 76 65 20 61 6e | 64 20 73 61 76 65 64 20 |ctive an|d saved |
|00003720| 67 69 64 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |gid of t|he curre|
|00003730| 6e 74 0d 20 2a 09 70 72 | 6f 67 72 61 6d 2e 0d 20 |nt. *.pr|ogram.. |
|00003740| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 53 45 |*/.#unde|f.HAS_SE|
|00003750| 54 52 45 47 49 44 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |TREGID..|/**/../*|
|00003760| 20 48 41 53 5f 53 45 54 | 52 45 55 49 44 0d 20 2a | HAS_SET|REUID. *|
|00003770| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00003780| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00003790| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 73 65 74 |tes that| the set|
|000037a0| 72 65 75 69 64 20 72 6f | 75 74 69 6e 65 20 69 73 |reuid ro|utine is|
|000037b0| 0d 20 2a 09 61 76 61 69 | 6c 61 62 6c 65 20 74 6f |. *.avai|lable to|
|000037c0| 20 63 68 61 6e 67 65 20 | 74 68 65 20 72 65 61 6c | change |the real|
|000037d0| 20 61 6e 64 20 65 66 66 | 65 63 74 69 76 65 20 75 | and eff|ective u|
|000037e0| 69 64 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |id of th|e curren|
|000037f0| 74 20 70 72 6f 67 72 61 | 6d 2e 0d 20 2a 2f 0d 2f |t progra|m.. */./|
|00003800| 2a 20 48 41 53 5f 53 45 | 54 52 45 53 55 49 44 0d |* HAS_SE|TRESUID.|
|00003810| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00003820| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|00003830| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 73 |cates th|at the s|
|00003840| 65 74 72 65 73 75 69 64 | 20 72 6f 75 74 69 6e 65 |etresuid| routine|
|00003850| 20 69 73 0d 20 2a 09 61 | 76 61 69 6c 61 62 6c 65 | is. *.a|vailable|
|00003860| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 20 72 | to chan|ge the r|
|00003870| 65 61 6c 2c 20 65 66 66 | 65 63 74 69 76 65 20 61 |eal, eff|ective a|
|00003880| 6e 64 20 73 61 76 65 64 | 20 75 69 64 20 6f 66 20 |nd saved| uid of |
|00003890| 74 68 65 20 63 75 72 72 | 65 6e 74 0d 20 2a 09 70 |the curr|ent. *.p|
|000038a0| 72 6f 67 72 61 6d 2e 0d | 20 2a 2f 0d 23 75 6e 64 |rogram..| */.#und|
|000038b0| 65 66 09 48 41 53 5f 53 | 45 54 52 45 55 49 44 09 |ef.HAS_S|ETREUID.|
|000038c0| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 48 41 53 5f 53 45 |./**/../|* HAS_SE|
|000038d0| 54 52 47 49 44 0d 20 2a | 09 54 68 69 73 20 73 79 |TRGID. *|.This sy|
|000038e0| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined|
|000038f0| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that|
|00003900| 20 74 68 65 20 73 65 74 | 72 67 69 64 20 72 6f 75 | the set|rgid rou|
|00003910| 74 69 6e 65 20 69 73 20 | 61 76 61 69 6c 61 62 6c |tine is |availabl|
|00003920| 65 0d 20 2a 09 74 6f 20 | 63 68 61 6e 67 65 20 74 |e. *.to |change t|
|00003930| 68 65 20 72 65 61 6c 20 | 67 69 64 20 6f 66 20 74 |he real |gid of t|
|00003940| 68 65 20 63 75 72 72 65 | 6e 74 20 70 72 6f 67 72 |he curre|nt progr|
|00003950| 61 6d 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 48 |am.. */.|#undef.H|
|00003960| 41 53 5f 53 45 54 52 47 | 49 44 09 09 2f 2a 2a 2f |AS_SETRG|ID../**/|
|00003970| 0d 0d 2f 2a 20 48 41 53 | 5f 53 45 54 52 55 49 44 |../* HAS|_SETRUID|
|00003980| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00003990| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|000039a0| 69 63 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |icates t|hat the |
|000039b0| 73 65 74 72 75 69 64 20 | 72 6f 75 74 69 6e 65 20 |setruid |routine |
|000039c0| 69 73 20 61 76 61 69 6c | 61 62 6c 65 0d 20 2a 09 |is avail|able. *.|
|000039d0| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 65 20 72 65 |to chang|e the re|
|000039e0| 61 6c 20 75 69 64 20 6f | 66 20 74 68 65 20 63 75 |al uid o|f the cu|
|000039f0| 72 72 65 6e 74 20 70 72 | 6f 67 72 61 6d 2e 0d 20 |rrent pr|ogram.. |
|00003a00| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 53 45 |*/.#unde|f.HAS_SE|
|00003a10| 54 52 55 49 44 09 09 2f | 2a 2a 2f 0d 0d 2f 2a 20 |TRUID../|**/../* |
|00003a20| 48 41 53 5f 53 48 4d 0d | 20 2a 09 54 68 69 73 20 |HAS_SHM.| *.This |
|00003a30| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00003a40| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 68 |ed, indi|cates th|
|00003a50| 61 74 20 74 68 65 20 65 | 6e 74 69 72 65 20 73 68 |at the e|ntire sh|
|00003a60| 6d 2a 28 32 29 20 6c 69 | 62 72 61 72 79 20 69 73 |m*(2) li|brary is|
|00003a70| 0d 20 2a 09 73 75 70 70 | 6f 72 74 65 64 2e 0d 20 |. *.supp|orted.. |
|00003a80| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 53 48 |*/.#unde|f.HAS_SH|
|00003a90| 4d 09 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 48 41 53 5f |M../**/.|./* HAS_|
|00003aa0| 53 48 4d 41 54 0d 20 2a | 09 54 68 69 73 20 73 79 |SHMAT. *|.This sy|
|00003ab0| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined|
|00003ac0| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that|
|00003ad0| 20 74 68 65 20 73 68 6d | 61 74 28 29 20 72 6f 75 | the shm|at() rou|
|00003ae0| 74 69 6e 65 20 69 73 0d | 20 2a 09 61 76 61 69 6c |tine is.| *.avail|
|00003af0| 61 62 6c 65 20 74 6f 20 | 61 74 74 61 63 68 20 61 |able to |attach a|
|00003b00| 20 73 68 61 72 65 64 20 | 6d 65 6d 6f 72 79 20 73 | shared |memory s|
|00003b10| 65 67 6d 65 6e 74 2e 0d | 20 2a 2f 0d 23 75 6e 64 |egment..| */.#und|
|00003b20| 65 66 09 48 41 53 5f 53 | 48 4d 41 54 09 09 2f 2a |ef.HAS_S|HMAT../*|
|00003b30| 2a 2f 0d 0d 2f 2a 20 48 | 41 53 5f 53 48 4d 43 54 |*/../* H|AS_SHMCT|
|00003b40| 4c 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |L. *.Thi|s symbol|
|00003b50| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00003b60| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the|
|00003b70| 20 73 68 6d 63 74 6c 28 | 29 20 72 6f 75 74 69 6e | shmctl(|) routin|
|00003b80| 65 20 69 73 0d 20 2a 09 | 61 76 61 69 6c 61 62 6c |e is. *.|availabl|
|00003b90| 65 20 74 6f 20 63 6f 6e | 74 72 6f 6c 20 61 20 73 |e to con|trol a s|
|00003ba0| 68 61 72 65 64 20 6d 65 | 6d 6f 72 79 20 73 65 67 |hared me|mory seg|
|00003bb0| 6d 65 6e 74 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |ment.. *|/.#undef|
|00003bc0| 09 48 41 53 5f 53 48 4d | 43 54 4c 09 09 2f 2a 2a |.HAS_SHM|CTL../**|
|00003bd0| 2f 0d 0d 2f 2a 20 48 41 | 53 5f 53 48 4d 44 54 0d |/../* HA|S_SHMDT.|
|00003be0| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00003bf0| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|00003c00| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 73 |cates th|at the s|
|00003c10| 68 6d 64 74 28 29 20 72 | 6f 75 74 69 6e 65 20 69 |hmdt() r|outine i|
|00003c20| 73 0d 20 2a 09 61 76 61 | 69 6c 61 62 6c 65 20 74 |s. *.ava|ilable t|
|00003c30| 6f 20 64 65 74 61 63 68 | 20 61 20 73 68 61 72 65 |o detach| a share|
|00003c40| 64 20 6d 65 6d 6f 72 79 | 20 73 65 67 6d 65 6e 74 |d memory| segment|
|00003c50| 2e 0d 20 2a 2f 0d 23 75 | 6e 64 65 66 09 48 41 53 |.. */.#u|ndef.HAS|
|00003c60| 5f 53 48 4d 44 54 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |_SHMDT..|/**/../*|
|00003c70| 20 48 41 53 5f 53 48 4d | 47 45 54 0d 20 2a 09 54 | HAS_SHM|GET. *.T|
|00003c80| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d|
|00003c90| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate|
|00003ca0| 73 20 74 68 61 74 20 74 | 68 65 20 73 68 6d 67 65 |s that t|he shmge|
|00003cb0| 74 28 29 20 72 6f 75 74 | 69 6e 65 20 69 73 0d 20 |t() rout|ine is. |
|00003cc0| 2a 09 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 67 |*.availa|ble to g|
|00003cd0| 65 74 20 61 20 73 68 61 | 72 65 64 20 6d 65 6d 6f |et a sha|red memo|
|00003ce0| 72 79 20 73 65 67 6d 65 | 6e 74 20 69 64 2e 0d 20 |ry segme|nt id.. |
|00003cf0| 2a 2f 0d 23 75 6e 64 65 | 66 09 48 41 53 5f 53 48 |*/.#unde|f.HAS_SH|
|00003d00| 4d 47 45 54 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 48 |MGET../*|*/../* H|
|00003d10| 41 53 5f 53 4f 43 4b 45 | 54 0d 20 2a 09 54 68 69 |AS_SOCKE|T. *.Thi|
|00003d20| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|00003d30| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|00003d40| 74 68 61 74 20 74 68 65 | 20 42 53 44 20 73 6f 63 |that the| BSD soc|
|00003d50| 6b 65 74 20 69 6e 74 65 | 72 66 61 63 65 20 69 73 |ket inte|rface is|
|00003d60| 0d 20 2a 09 73 75 70 70 | 6f 72 74 65 64 2e 0d 20 |. *.supp|orted.. |
|00003d70| 2a 2f 0d 2f 2a 20 48 41 | 53 5f 53 4f 43 4b 45 54 |*/./* HA|S_SOCKET|
|00003d80| 50 41 49 52 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |PAIR. *.|This sym|
|00003d90| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|00003da0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|00003db0| 74 68 65 20 42 53 44 20 | 73 6f 63 6b 65 74 70 61 |the BSD |socketpa|
|00003dc0| 69 72 20 63 61 6c 6c 20 | 69 73 0d 20 2a 09 73 75 |ir call |is. *.su|
|00003dd0| 70 70 6f 72 74 65 64 2e | 0d 20 2a 2f 0d 2f 2a 20 |pported.|. */./* |
|00003de0| 4f 4c 44 53 4f 43 4b 45 | 54 0d 20 2a 09 54 68 69 |OLDSOCKE|T. *.Thi|
|00003df0| 73 20 73 79 6d 62 6f 6c | 2c 20 69 66 20 64 65 66 |s symbol|, if def|
|00003e00| 69 6e 65 64 2c 20 69 6e | 64 69 63 61 74 65 73 20 |ined, in|dicates |
|00003e10| 74 68 61 74 20 74 68 65 | 20 34 2e 31 63 20 42 53 |that the| 4.1c BS|
|00003e20| 44 20 73 6f 63 6b 65 74 | 20 69 6e 74 65 72 66 61 |D socket| interfa|
|00003e30| 63 65 0d 20 2a 09 69 73 | 20 73 75 70 70 6f 72 74 |ce. *.is| support|
|00003e40| 65 64 20 69 6e 73 74 65 | 61 64 20 6f 66 20 74 68 |ed inste|ad of th|
|00003e50| 65 20 34 2e 32 2f 34 2e | 33 20 42 53 44 20 73 6f |e 4.2/4.|3 BSD so|
|00003e60| 63 6b 65 74 20 69 6e 74 | 65 72 66 61 63 65 2e 0d |cket int|erface..|
|00003e70| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 09 48 41 53 5f | */.#def|ine.HAS_|
|00003e80| 53 4f 43 4b 45 54 09 09 | 2f 2a 2a 2f 0d 0d 23 75 |SOCKET..|/**/..#u|
|00003e90| 6e 64 65 66 09 48 41 53 | 5f 53 4f 43 4b 45 54 50 |ndef.HAS|_SOCKETP|
|00003ea0| 41 49 52 09 2f 2a 2a 2f | 0d 0d 23 75 6e 64 65 66 |AIR./**/|..#undef|
|00003eb0| 09 4f 4c 44 53 4f 43 4b | 45 54 09 2f 2a 2a 2f 0d |.OLDSOCK|ET./**/.|
|00003ec0| 0d 2f 2a 20 53 54 41 54 | 42 4c 4f 43 4b 53 0d 20 |./* STAT|BLOCKS. |
|00003ed0| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 20 69 73 |*.This s|ymbol is|
|00003ee0| 20 64 65 66 69 6e 65 64 | 20 69 66 20 74 68 69 73 | defined| if this|
|00003ef0| 20 73 79 73 74 65 6d 20 | 68 61 73 20 61 20 73 74 | system |has a st|
|00003f00| 61 74 20 73 74 72 75 63 | 74 75 72 65 20 64 65 63 |at struc|ture dec|
|00003f10| 6c 61 72 69 6e 67 0d 20 | 2a 09 73 74 5f 62 6c 6b |laring. |*.st_blk|
|00003f20| 73 69 7a 65 20 61 6e 64 | 20 73 74 5f 62 6c 6f 63 |size and| st_bloc|
|00003f30| 6b 73 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 09 |ks.. */.|#define.|
|00003f40| 53 54 41 54 42 4c 4f 43 | 4b 53 20 09 2f 2a 2a 2f |STATBLOC|KS ./**/|
|00003f50| 0d 0d 2f 2a 20 53 54 44 | 53 54 44 49 4f 0d 20 2a |../* STD|STDIO. *|
|00003f60| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 20 69 73 20 |.This sy|mbol is |
|00003f70| 64 65 66 69 6e 65 64 20 | 69 66 20 74 68 69 73 20 |defined |if this |
|00003f80| 73 79 73 74 65 6d 20 68 | 61 73 20 61 20 46 49 4c |system h|as a FIL|
|00003f90| 45 20 73 74 72 75 63 74 | 75 72 65 20 64 65 63 6c |E struct|ure decl|
|00003fa0| 61 72 69 6e 67 0d 20 2a | 09 5f 70 74 72 20 61 6e |aring. *|._ptr an|
|00003fb0| 64 20 5f 63 6e 74 20 69 | 6e 20 73 74 64 69 6f 2e |d _cnt i|n stdio.|
|00003fc0| 68 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 53 |h.. */.#|define.S|
|00003fd0| 54 44 53 54 44 49 4f 20 | 09 2f 2a 2a 2f 0d 0d 2f |TDSTDIO |./**/../|
|00003fe0| 2a 20 53 54 52 55 43 54 | 43 4f 50 59 0d 20 2a 09 |* STRUCT|COPY. *.|
|00003ff0| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|00004000| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00004010| 65 73 20 74 68 61 74 20 | 74 68 69 73 20 43 20 63 |es that |this C c|
|00004020| 6f 6d 70 69 6c 65 72 20 | 6b 6e 6f 77 73 20 68 6f |ompiler |knows ho|
|00004030| 77 0d 20 2a 09 74 6f 20 | 63 6f 70 79 20 73 74 72 |w. *.to |copy str|
|00004040| 75 63 74 75 72 65 73 2e | 20 20 49 66 20 75 6e 64 |uctures.| If und|
|00004050| 65 66 69 6e 65 64 2c 20 | 79 6f 75 27 6c 6c 20 6e |efined, |you'll n|
|00004060| 65 65 64 20 74 6f 20 75 | 73 65 20 61 20 62 6c 6f |eed to u|se a blo|
|00004070| 63 6b 20 63 6f 70 79 0d | 20 2a 09 72 6f 75 74 69 |ck copy.| *.routi|
|00004080| 6e 65 20 6f 66 20 73 6f | 6d 65 20 73 6f 72 74 20 |ne of so|me sort |
|00004090| 69 6e 73 74 65 61 64 2e | 0d 20 2a 2f 0d 23 64 65 |instead.|. */.#de|
|000040a0| 66 69 6e 65 09 53 54 52 | 55 43 54 43 4f 50 59 09 |fine.STR|UCTCOPY.|
|000040b0| 2f 2a 2a 2f 0d 0d 2f 2a | 20 48 41 53 5f 53 54 52 |/**/../*| HAS_STR|
|000040c0| 45 52 52 4f 52 0d 20 2a | 09 54 68 69 73 20 73 79 |ERROR. *|.This sy|
|000040d0| 6d 62 6f 6c 2c 20 69 66 | 20 64 65 66 69 6e 65 64 |mbol, if| defined|
|000040e0| 2c 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |, indica|tes that|
|000040f0| 20 74 68 65 20 73 74 72 | 65 72 72 6f 72 28 29 20 | the str|error() |
|00004100| 72 6f 75 74 69 6e 65 20 | 69 73 0d 20 2a 09 61 76 |routine |is. *.av|
|00004110| 61 69 6c 61 62 6c 65 20 | 74 6f 20 74 72 61 6e 73 |ailable |to trans|
|00004120| 6c 61 74 65 20 65 72 72 | 6f 72 20 6e 75 6d 62 65 |late err|or numbe|
|00004130| 72 73 20 74 6f 20 73 74 | 72 69 6e 67 73 2e 0d 20 |rs to st|rings.. |
|00004140| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 48 41 53 5f 53 |*/.#defi|ne.HAS_S|
|00004150| 54 52 45 52 52 4f 52 09 | 09 2f 2a 2a 2f 0d 0d 2f |TRERROR.|./**/../|
|00004160| 2a 20 48 41 53 5f 53 59 | 4d 4c 49 4e 4b 0d 20 2a |* HAS_SY|MLINK. *|
|00004170| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00004180| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00004190| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 73 79 6d |tes that| the sym|
|000041a0| 6c 69 6e 6b 20 72 6f 75 | 74 69 6e 65 20 69 73 20 |link rou|tine is |
|000041b0| 61 76 61 69 6c 61 62 6c | 65 0d 20 2a 09 74 6f 20 |availabl|e. *.to |
|000041c0| 63 72 65 61 74 65 20 73 | 79 6d 62 6f 6c 69 63 20 |create s|ymbolic |
|000041d0| 6c 69 6e 6b 73 2e 0d 20 | 2a 2f 0d 23 64 65 66 69 |links.. |*/.#defi|
|000041e0| 6e 65 09 48 41 53 5f 53 | 59 4d 4c 49 4e 4b 09 09 |ne.HAS_S|YMLINK..|
|000041f0| 2f 2a 2a 2f 0d 0d 2f 2a | 20 48 41 53 5f 53 59 53 |/**/../*| HAS_SYS|
|00004200| 43 41 4c 4c 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |CALL. *.|This sym|
|00004210| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|00004220| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|00004230| 74 68 65 20 73 79 73 63 | 61 6c 6c 20 72 6f 75 74 |the sysc|all rout|
|00004240| 69 6e 65 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ine is a|vailable|
|00004250| 0d 20 2a 09 74 6f 20 63 | 61 6c 6c 20 61 72 62 69 |. *.to c|all arbi|
|00004260| 74 72 61 72 79 20 73 79 | 73 74 65 6d 20 63 61 6c |trary sy|stem cal|
|00004270| 6c 73 2e 20 20 49 66 20 | 75 6e 64 65 66 69 6e 65 |ls. If |undefine|
|00004280| 64 2c 20 74 68 61 74 27 | 73 20 74 6f 75 67 68 2e |d, that'|s tough.|
|00004290| 0d 20 2a 2f 0d 23 75 6e | 64 65 66 09 48 41 53 5f |. */.#un|def.HAS_|
|000042a0| 53 59 53 43 41 4c 4c 09 | 09 2f 2a 2a 2f 0d 0d 2f |SYSCALL.|./**/../|
|000042b0| 2a 20 48 41 53 5f 54 45 | 4c 4c 44 49 52 0d 20 2a |* HAS_TE|LLDIR. *|
|000042c0| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|000042d0| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|000042e0| 74 65 73 20 74 68 61 74 | 20 74 68 65 20 74 65 6c |tes that| the tel|
|000042f0| 6c 64 69 72 20 72 6f 75 | 74 69 6e 65 20 69 73 0d |ldir rou|tine is.|
|00004300| 20 2a 09 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 | *.avail|able to |
|00004310| 74 65 6c 6c 20 79 6f 75 | 72 20 6c 6f 63 61 74 69 |tell you|r locati|
|00004320| 6f 6e 20 69 6e 20 64 69 | 72 65 63 74 6f 72 69 65 |on in di|rectorie|
|00004330| 73 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 48 |s.. */.#|define.H|
|00004340| 41 53 5f 54 45 4c 4c 44 | 49 52 09 09 2f 2a 2a 2f |AS_TELLD|IR../**/|
|00004350| 0d 0d 2f 2a 20 48 41 53 | 5f 54 52 55 4e 43 41 54 |../* HAS|_TRUNCAT|
|00004360| 45 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |E. *.Thi|s symbol|
|00004370| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00004380| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the|
|00004390| 20 74 72 75 6e 63 61 74 | 65 20 72 6f 75 74 69 6e | truncat|e routin|
|000043a0| 65 20 69 73 0d 20 2a 09 | 61 76 61 69 6c 61 62 6c |e is. *.|availabl|
|000043b0| 65 20 74 6f 20 74 72 75 | 6e 63 61 74 65 20 66 69 |e to tru|ncate fi|
|000043c0| 6c 65 73 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |les.. */|.#define|
|000043d0| 09 48 41 53 5f 54 52 55 | 4e 43 41 54 45 09 09 2f |.HAS_TRU|NCATE../|
|000043e0| 2a 2a 2f 0d 0d 2f 2a 20 | 48 41 53 5f 56 46 4f 52 |**/../* |HAS_VFOR|
|000043f0| 4b 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |K. *.Thi|s symbol|
|00004400| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00004410| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 76 66 6f |dicates |that vfo|
|00004420| 72 6b 28 29 20 65 78 69 | 73 74 73 2e 0d 20 2a 2f |rk() exi|sts.. */|
|00004430| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 56 46 4f 52 |.#undef.|HAS_VFOR|
|00004440| 4b 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 56 4f 49 44 53 |K./**/..|/* VOIDS|
|00004450| 49 47 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |IG. *.Th|is symbo|
|00004460| 6c 20 69 73 20 64 65 66 | 69 6e 65 64 20 69 66 20 |l is def|ined if |
|00004470| 74 68 69 73 20 73 79 73 | 74 65 6d 20 64 65 63 6c |this sys|tem decl|
|00004480| 61 72 65 73 20 22 76 6f | 69 64 20 28 2a 73 69 67 |ares "vo|id (*sig|
|00004490| 6e 61 6c 28 29 29 28 29 | 22 20 69 6e 0d 20 2a 09 |nal())()|" in. *.|
|000044a0| 73 69 67 6e 61 6c 2e 68 | 2e 20 20 54 68 65 20 6f |signal.h|. The o|
|000044b0| 6c 64 20 77 61 79 20 77 | 61 73 20 74 6f 20 64 65 |ld way w|as to de|
|000044c0| 63 6c 61 72 65 20 69 74 | 20 61 73 20 22 69 6e 74 |clare it| as "int|
|000044d0| 20 28 2a 73 69 67 6e 61 | 6c 28 29 29 28 29 22 2e | (*signa|l())()".|
|000044e0| 20 20 49 74 0d 20 2a 09 | 69 73 20 75 70 20 74 6f | It. *.|is up to|
|000044f0| 20 74 68 65 20 70 61 63 | 6b 61 67 65 20 61 75 74 | the pac|kage aut|
|00004500| 68 6f 72 20 74 6f 20 64 | 65 63 6c 61 72 65 20 74 |hor to d|eclare t|
|00004510| 68 69 6e 67 73 20 63 6f | 72 72 65 63 74 6c 79 20 |hings co|rrectly |
|00004520| 62 61 73 65 64 20 6f 6e | 20 74 68 65 0d 20 2a 09 |based on| the. *.|
|00004530| 73 79 6d 62 6f 6c 2e 0d | 20 2a 2f 0d 2f 2a 20 54 |symbol..| */./* T|
|00004540| 4f 5f 53 49 47 4e 41 4c | 0d 20 2a 09 54 68 69 73 |O_SIGNAL|. *.This|
|00004550| 20 73 79 6d 62 6f 6c 27 | 73 20 76 61 6c 75 65 20 | symbol'|s value |
|00004560| 69 73 20 65 69 74 68 65 | 72 20 22 76 6f 69 64 22 |is eithe|r "void"|
|00004570| 20 6f 72 20 22 69 6e 74 | 22 2c 20 63 6f 72 72 65 | or "int|", corre|
|00004580| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 65 0d |sponding| to the.|
|00004590| 20 2a 09 61 70 70 72 6f | 70 72 69 61 74 65 20 72 | *.appro|priate r|
|000045a0| 65 74 75 72 6e 20 22 74 | 79 70 65 22 20 6f 66 20 |eturn "t|ype" of |
|000045b0| 61 20 73 69 67 6e 61 6c | 20 68 61 6e 64 6c 65 72 |a signal| handler|
|000045c0| 2e 20 20 54 68 75 73 2c | 20 6f 6e 65 20 63 61 6e |. Thus,| one can|
|000045d0| 20 64 65 63 6c 61 72 65 | 0d 20 2a 09 61 20 73 69 | declare|. *.a si|
|000045e0| 67 6e 61 6c 20 68 61 6e | 64 6c 65 72 20 75 73 69 |gnal han|dler usi|
|000045f0| 6e 67 20 22 54 4f 5f 53 | 49 47 4e 41 4c 20 28 2a |ng "TO_S|IGNAL (*|
|00004600| 68 61 6e 64 6c 65 72 28 | 29 29 28 29 22 2c 20 61 |handler(|))()", a|
|00004610| 6e 64 20 64 65 66 69 6e | 65 20 74 68 65 0d 20 2a |nd defin|e the. *|
|00004620| 09 68 61 6e 64 6c 65 72 | 20 75 73 69 6e 67 20 22 |.handler| using "|
|00004630| 54 4f 5f 53 49 47 4e 41 | 4c 20 68 61 6e 64 6c 65 |TO_SIGNA|L handle|
|00004640| 72 28 73 69 67 29 22 2e | 0d 20 2a 2f 0d 23 64 65 |r(sig)".|. */.#de|
|00004650| 66 69 6e 65 09 56 4f 49 | 44 53 49 47 20 09 2f 2a |fine.VOI|DSIG ./*|
|00004660| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 54 4f 5f 53 49 |*/.#defi|ne.TO_SI|
|00004670| 47 4e 41 4c 09 20 76 6f | 69 64 09 2f 2a 2a 2f 0d |GNAL. vo|id./**/.|
|00004680| 0d 2f 2a 20 48 41 53 56 | 4f 4c 41 54 49 4c 45 0d |./* HASV|OLATILE.|
|00004690| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|000046a0| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|000046b0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 69 73 20 |cates th|at this |
|000046c0| 43 20 63 6f 6d 70 69 6c | 65 72 20 6b 6e 6f 77 73 |C compil|er knows|
|000046d0| 20 61 62 6f 75 74 0d 20 | 2a 09 74 68 65 20 76 6f | about. |*.the vo|
|000046e0| 6c 61 74 69 6c 65 20 64 | 65 63 6c 61 72 61 74 69 |latile d|eclarati|
|000046f0| 6f 6e 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 48 |on.. */.|#undef.H|
|00004700| 41 53 56 4f 4c 41 54 49 | 4c 45 09 2f 2a 2a 2f 0d |ASVOLATI|LE./**/.|
|00004710| 0d 2f 2a 20 48 41 53 5f | 56 50 52 49 4e 54 46 0d |./* HAS_|VPRINTF.|
|00004720| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00004730| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|00004740| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 76 |cates th|at the v|
|00004750| 70 72 69 6e 74 66 20 72 | 6f 75 74 69 6e 65 20 69 |printf r|outine i|
|00004760| 73 20 61 76 61 69 6c 61 | 62 6c 65 0d 20 2a 09 74 |s availa|ble. *.t|
|00004770| 6f 20 70 72 69 6e 74 66 | 20 77 69 74 68 20 61 20 |o printf| with a |
|00004780| 70 6f 69 6e 74 65 72 20 | 74 6f 20 61 6e 20 61 72 |pointer |to an ar|
|00004790| 67 75 6d 65 6e 74 20 6c | 69 73 74 2e 20 20 49 66 |gument l|ist. If|
|000047a0| 20 75 6e 61 76 61 69 6c | 61 62 6c 65 2c 20 79 6f | unavail|able, yo|
|000047b0| 75 0d 20 2a 09 6d 61 79 | 20 6e 65 65 64 20 74 6f |u. *.may| need to|
|000047c0| 20 77 72 69 74 65 20 79 | 6f 75 72 20 6f 77 6e 2c | write y|our own,|
|000047d0| 20 70 72 6f 62 61 62 6c | 79 20 69 6e 20 74 65 72 | probabl|y in ter|
|000047e0| 6d 73 20 6f 66 20 5f 64 | 6f 70 72 6e 74 28 29 2e |ms of _d|oprnt().|
|000047f0| 0d 20 2a 2f 0d 2f 2a 20 | 43 48 41 52 56 53 50 52 |. */./* |CHARVSPR|
|00004800| 49 4e 54 46 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |INTF. *.|This sym|
|00004810| 62 6f 6c 20 69 73 20 64 | 65 66 69 6e 65 64 20 69 |bol is d|efined i|
|00004820| 66 20 74 68 69 73 20 73 | 79 73 74 65 6d 20 68 61 |f this s|ystem ha|
|00004830| 73 20 76 73 70 72 69 6e | 74 66 28 29 20 72 65 74 |s vsprin|tf() ret|
|00004840| 75 72 6e 69 6e 67 20 74 | 79 70 65 0d 20 2a 09 28 |urning t|ype. *.(|
|00004850| 63 68 61 72 2a 29 2e 20 | 20 54 68 65 20 74 72 65 |char*). | The tre|
|00004860| 6e 64 20 73 65 65 6d 73 | 20 74 6f 20 62 65 20 74 |nd seems| to be t|
|00004870| 6f 20 64 65 63 6c 61 72 | 65 20 69 74 20 61 73 20 |o declar|e it as |
|00004880| 22 69 6e 74 20 76 73 70 | 72 69 6e 74 66 28 29 22 |"int vsp|rintf()"|
|00004890| 2e 20 20 49 74 0d 20 2a | 09 69 73 20 75 70 20 74 |. It. *|.is up t|
|000048a0| 6f 20 74 68 65 20 70 61 | 63 6b 61 67 65 20 61 75 |o the pa|ckage au|
|000048b0| 74 68 6f 72 20 74 6f 20 | 64 65 63 6c 61 72 65 20 |thor to |declare |
|000048c0| 76 73 70 72 69 6e 74 66 | 20 63 6f 72 72 65 63 74 |vsprintf| correct|
|000048d0| 6c 79 20 62 61 73 65 64 | 20 6f 6e 20 74 68 65 0d |ly based| on the.|
|000048e0| 20 2a 09 73 79 6d 62 6f | 6c 2e 0d 20 2a 2f 0d 23 | *.symbo|l.. */.#|
|000048f0| 64 65 66 69 6e 65 09 48 | 41 53 5f 56 50 52 49 4e |define.H|AS_VPRIN|
|00004900| 54 46 09 2f 2a 2a 2f 0d | 2f 2a 23 75 6e 64 65 66 |TF./**/.|/*#undef|
|00004910| 09 43 48 41 52 56 53 50 | 52 49 4e 54 46 20 09 2f |.CHARVSP|RINTF ./|
|00004920| 2a 2a 2f 0d 0d 2f 2a 20 | 48 41 53 5f 57 41 49 54 |**/../* |HAS_WAIT|
|00004930| 34 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |4. *.Thi|s symbol|
|00004940| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00004950| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 77 61 69 |dicates |that wai|
|00004960| 74 34 28 29 20 65 78 69 | 73 74 73 2e 0d 20 2a 2f |t4() exi|sts.. */|
|00004970| 0d 23 75 6e 64 65 66 09 | 48 41 53 5f 57 41 49 54 |.#undef.|HAS_WAIT|
|00004980| 34 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 48 41 53 5f 57 |4./**/..|/* HAS_W|
|00004990| 41 49 54 50 49 44 0d 20 | 2a 09 54 68 69 73 20 73 |AITPID. |*.This s|
|000049a0| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|000049b0| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|000049c0| 74 20 77 61 69 74 70 69 | 64 28 29 20 65 78 69 73 |t waitpi|d() exis|
|000049d0| 74 73 2e 0d 20 2a 2f 0d | 23 75 6e 64 65 66 09 48 |ts.. */.|#undef.H|
|000049e0| 41 53 5f 57 41 49 54 50 | 49 44 09 2f 2a 2a 2f 0d |AS_WAITP|ID./**/.|
|000049f0| 0d 2f 2a 20 47 49 44 54 | 59 50 45 0d 20 2a 09 54 |./* GIDT|YPE. *.T|
|00004a00| 68 69 73 20 73 79 6d 62 | 6f 6c 20 68 61 73 20 61 |his symb|ol has a|
|00004a10| 20 76 61 6c 75 65 20 6c | 69 6b 65 20 67 69 64 5f | value l|ike gid_|
|00004a20| 74 2c 20 69 6e 74 2c 20 | 75 73 68 6f 72 74 2c 20 |t, int, |ushort, |
|00004a30| 6f 72 20 77 68 61 74 65 | 76 65 72 20 74 79 70 65 |or whate|ver type|
|00004a40| 20 69 73 0d 20 2a 09 75 | 73 65 64 20 74 6f 20 64 | is. *.u|sed to d|
|00004a50| 65 63 6c 61 72 65 20 67 | 72 6f 75 70 20 69 64 73 |eclare g|roup ids|
|00004a60| 20 69 6e 20 74 68 65 20 | 6b 65 72 6e 65 6c 2e 0d | in the |kernel..|
|00004a70| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 47 49 44 54 | */.#def|ine GIDT|
|00004a80| 59 50 45 20 69 6e 74 09 | 09 2f 2a 2a 2f 0d 0d 2f |YPE int.|./**/../|
|00004a90| 2a 20 49 5f 46 43 4e 54 | 4c 0d 20 2a 09 54 68 69 |* I_FCNT|L. *.Thi|
|00004aa0| 73 20 6d 61 6e 69 66 65 | 73 74 20 63 6f 6e 73 74 |s manife|st const|
|00004ab0| 61 6e 74 20 74 65 6c 6c | 73 20 74 68 65 20 43 20 |ant tell|s the C |
|00004ac0| 70 72 6f 67 72 61 6d 20 | 74 6f 20 69 6e 63 6c 75 |program |to inclu|
|00004ad0| 64 65 20 3c 66 63 6e 74 | 6c 2e 68 3e 2e 0d 20 2a |de <fcnt|l.h>.. *|
|00004ae0| 2f 0d 23 64 65 66 69 6e | 65 09 49 5f 46 43 4e 54 |/.#defin|e.I_FCNT|
|00004af0| 4c 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 49 5f 47 44 42 |L./**/..|/* I_GDB|
|00004b00| 4d 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |M. *.Thi|s symbol|
|00004b10| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00004b20| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 67 64 62 |dicates |that gdb|
|00004b30| 6d 2e 68 20 65 78 69 73 | 74 73 20 61 6e 64 20 73 |m.h exis|ts and s|
|00004b40| 68 6f 75 6c 64 0d 20 2a | 09 62 65 20 69 6e 63 6c |hould. *|.be incl|
|00004b50| 75 64 65 64 2e 0d 20 2a | 2f 0d 23 75 6e 64 65 66 |uded.. *|/.#undef|
|00004b60| 09 49 5f 47 44 42 4d 09 | 09 2f 2a 2a 2f 0d 0d 2f |.I_GDBM.|./**/../|
|00004b70| 2a 20 49 5f 47 52 50 0d | 20 2a 09 54 68 69 73 20 |* I_GRP.| *.This |
|00004b80| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00004b90| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 6f |ed, indi|cates to|
|00004ba0| 20 74 68 65 20 43 20 70 | 72 6f 67 72 61 6d 20 74 | the C p|rogram t|
|00004bb0| 68 61 74 20 69 74 20 73 | 68 6f 75 6c 64 0d 20 2a |hat it s|hould. *|
|00004bc0| 09 69 6e 63 6c 75 64 65 | 20 67 72 70 2e 68 2e 0d |.include| grp.h..|
|00004bd0| 20 2a 2f 0d 23 75 6e 64 | 65 66 09 49 5f 47 52 50 | */.#und|ef.I_GRP|
|00004be0| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 49 5f 4e 45 54 |../**/..|/* I_NET|
|00004bf0| 49 4e 45 54 5f 49 4e 0d | 20 2a 09 54 68 69 73 20 |INET_IN.| *.This |
|00004c00| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00004c10| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 6f |ed, indi|cates to|
|00004c20| 20 74 68 65 20 43 20 70 | 72 6f 67 72 61 6d 20 74 | the C p|rogram t|
|00004c30| 68 61 74 20 69 74 20 73 | 68 6f 75 6c 64 0d 20 2a |hat it s|hould. *|
|00004c40| 09 69 6e 63 6c 75 64 65 | 20 6e 65 74 69 6e 65 74 |.include| netinet|
|00004c50| 2f 69 6e 2e 68 2e 0d 20 | 2a 2f 0d 2f 2a 20 49 5f |/in.h.. |*/./* I_|
|00004c60| 53 59 53 5f 49 4e 0d 20 | 2a 09 54 68 69 73 20 73 |SYS_IN. |*.This s|
|00004c70| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|00004c80| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 6f 20 |d, indic|ates to |
|00004c90| 74 68 65 20 43 20 70 72 | 6f 67 72 61 6d 20 74 68 |the C pr|ogram th|
|00004ca0| 61 74 20 69 74 20 73 68 | 6f 75 6c 64 0d 20 2a 09 |at it sh|ould. *.|
|00004cb0| 69 6e 63 6c 75 64 65 20 | 73 79 73 2f 69 6e 2e 68 |include |sys/in.h|
|00004cc0| 2e 0d 20 2a 2f 0d 23 64 | 65 66 69 6e 65 09 49 5f |.. */.#d|efine.I_|
|00004cd0| 4e 45 54 49 4e 45 54 5f | 49 4e 09 2f 2a 2a 2f 0d |NETINET_|IN./**/.|
|00004ce0| 23 75 6e 64 65 66 09 49 | 5f 53 59 53 5f 49 4e 09 |#undef.I|_SYS_IN.|
|00004cf0| 09 09 2f 2a 2a 2f 0d 0d | 2f 2a 20 49 5f 50 57 44 |../**/..|/* I_PWD|
|00004d00| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 2c |. *.This| symbol,|
|00004d10| 20 69 66 20 64 65 66 69 | 6e 65 64 2c 20 69 6e 64 | if defi|ned, ind|
|00004d20| 69 63 61 74 65 73 20 74 | 6f 20 74 68 65 20 43 20 |icates t|o the C |
|00004d30| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 69 74 20 |program |that it |
|00004d40| 73 68 6f 75 6c 64 0d 20 | 2a 09 69 6e 63 6c 75 64 |should. |*.includ|
|00004d50| 65 20 70 77 64 2e 68 2e | 0d 20 2a 2f 0d 2f 2a 20 |e pwd.h.|. */./* |
|00004d60| 50 57 51 55 4f 54 41 0d | 20 2a 09 54 68 69 73 20 |PWQUOTA.| *.This |
|00004d70| 73 79 6d 62 6f 6c 2c 20 | 69 66 20 64 65 66 69 6e |symbol, |if defin|
|00004d80| 65 64 2c 20 69 6e 64 69 | 63 61 74 65 73 20 74 6f |ed, indi|cates to|
|00004d90| 20 74 68 65 20 43 20 70 | 72 6f 67 72 61 6d 20 74 | the C p|rogram t|
|00004da0| 68 61 74 20 73 74 72 75 | 63 74 20 70 61 73 73 77 |hat stru|ct passw|
|00004db0| 64 0d 20 2a 09 63 6f 6e | 74 61 69 6e 73 20 70 77 |d. *.con|tains pw|
|00004dc0| 5f 71 75 6f 74 61 2e 0d | 20 2a 2f 0d 2f 2a 20 50 |_quota..| */./* P|
|00004dd0| 57 41 47 45 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |WAGE. *.|This sym|
|00004de0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|00004df0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 6f 20 74 68 | indicat|es to th|
|00004e00| 65 20 43 20 70 72 6f 67 | 72 61 6d 20 74 68 61 74 |e C prog|ram that|
|00004e10| 20 73 74 72 75 63 74 20 | 70 61 73 73 77 64 0d 20 | struct |passwd. |
|00004e20| 2a 09 63 6f 6e 74 61 69 | 6e 73 20 70 77 5f 61 67 |*.contai|ns pw_ag|
|00004e30| 65 2e 0d 20 2a 2f 0d 2f | 2a 20 50 57 43 48 41 4e |e.. */./|* PWCHAN|
|00004e40| 47 45 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |GE. *.Th|is symbo|
|00004e50| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i|
|00004e60| 6e 64 69 63 61 74 65 73 | 20 74 6f 20 74 68 65 20 |ndicates| to the |
|00004e70| 43 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 73 |C progra|m that s|
|00004e80| 74 72 75 63 74 20 70 61 | 73 73 77 64 0d 20 2a 09 |truct pa|sswd. *.|
|00004e90| 63 6f 6e 74 61 69 6e 73 | 20 70 77 5f 63 68 61 6e |contains| pw_chan|
|00004ea0| 67 65 2e 0d 20 2a 2f 0d | 2f 2a 20 50 57 43 4c 41 |ge.. */.|/* PWCLA|
|00004eb0| 53 53 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |SS. *.Th|is symbo|
|00004ec0| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i|
|00004ed0| 6e 64 69 63 61 74 65 73 | 20 74 6f 20 74 68 65 20 |ndicates| to the |
|00004ee0| 43 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 73 |C progra|m that s|
|00004ef0| 74 72 75 63 74 20 70 61 | 73 73 77 64 0d 20 2a 09 |truct pa|sswd. *.|
|00004f00| 63 6f 6e 74 61 69 6e 73 | 20 70 77 5f 63 6c 61 73 |contains| pw_clas|
|00004f10| 73 2e 0d 20 2a 2f 0d 2f | 2a 20 50 57 45 58 50 49 |s.. */./|* PWEXPI|
|00004f20| 52 45 0d 20 2a 09 54 68 | 69 73 20 73 79 6d 62 6f |RE. *.Th|is symbo|
|00004f30| 6c 2c 20 69 66 20 64 65 | 66 69 6e 65 64 2c 20 69 |l, if de|fined, i|
|00004f40| 6e 64 69 63 61 74 65 73 | 20 74 6f 20 74 68 65 20 |ndicates| to the |
|00004f50| 43 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 73 |C progra|m that s|
|00004f60| 74 72 75 63 74 20 70 61 | 73 73 77 64 0d 20 2a 09 |truct pa|sswd. *.|
|00004f70| 63 6f 6e 74 61 69 6e 73 | 20 70 77 5f 65 78 70 69 |contains| pw_expi|
|00004f80| 72 65 2e 0d 20 2a 2f 0d | 2f 2a 20 50 57 43 4f 4d |re.. */.|/* PWCOM|
|00004f90| 4d 45 4e 54 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |MENT. *.|This sym|
|00004fa0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|00004fb0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 6f 20 74 68 | indicat|es to th|
|00004fc0| 65 20 43 20 70 72 6f 67 | 72 61 6d 20 74 68 61 74 |e C prog|ram that|
|00004fd0| 20 73 74 72 75 63 74 20 | 70 61 73 73 77 64 0d 20 | struct |passwd. |
|00004fe0| 2a 09 63 6f 6e 74 61 69 | 6e 73 20 70 77 5f 63 6f |*.contai|ns pw_co|
|00004ff0| 6d 6d 65 6e 74 2e 0d 20 | 2a 2f 0d 23 75 6e 64 65 |mment.. |*/.#unde|
|00005000| 66 09 49 5f 50 57 44 09 | 09 2f 2a 2a 2f 0d 23 75 |f.I_PWD.|./**/.#u|
|00005010| 6e 64 65 66 09 50 57 51 | 55 4f 54 41 09 09 2f 2a |ndef.PWQ|UOTA../*|
|00005020| 2a 2f 0d 23 75 6e 64 65 | 66 09 50 57 41 47 45 09 |*/.#unde|f.PWAGE.|
|00005030| 09 2f 2a 2a 2f 0d 23 75 | 6e 64 65 66 09 50 57 43 |./**/.#u|ndef.PWC|
|00005040| 48 41 4e 47 45 09 2f 2a | 2a 2f 0d 23 75 6e 64 65 |HANGE./*|*/.#unde|
|00005050| 66 09 50 57 43 4c 41 53 | 53 09 09 2f 2a 2a 2f 0d |f.PWCLAS|S../**/.|
|00005060| 23 75 6e 64 65 66 09 50 | 57 45 58 50 49 52 45 09 |#undef.P|WEXPIRE.|
|00005070| 2f 2a 2a 2f 0d 23 75 6e | 64 65 66 09 50 57 43 4f |/**/.#un|def.PWCO|
|00005080| 4d 4d 45 4e 54 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 49 |MMENT./*|*/../* I|
|00005090| 5f 53 59 53 5f 46 49 4c | 45 0d 20 2a 09 54 68 69 |_SYS_FIL|E. *.Thi|
|000050a0| 73 20 6d 61 6e 69 66 65 | 73 74 20 63 6f 6e 73 74 |s manife|st const|
|000050b0| 61 6e 74 20 74 65 6c 6c | 73 20 74 68 65 20 43 20 |ant tell|s the C |
|000050c0| 70 72 6f 67 72 61 6d 20 | 74 6f 20 69 6e 63 6c 75 |program |to inclu|
|000050d0| 64 65 20 3c 73 79 73 2f | 66 69 6c 65 2e 68 3e 2e |de <sys/|file.h>.|
|000050e0| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 49 5f 53 |. */.#de|fine.I_S|
|000050f0| 59 53 5f 46 49 4c 45 09 | 2f 2a 2a 2f 0d 0d 2f 2a |YS_FILE.|/**/../*|
|00005100| 20 49 5f 53 59 53 49 4f | 43 54 4c 0d 20 2a 09 54 | I_SYSIO|CTL. *.T|
|00005110| 68 69 73 20 73 79 6d 62 | 6f 6c 2c 20 69 66 20 64 |his symb|ol, if d|
|00005120| 65 66 69 6e 65 64 2c 20 | 69 6e 64 69 63 61 74 65 |efined, |indicate|
|00005130| 73 20 74 68 61 74 20 73 | 79 73 2f 69 6f 63 74 6c |s that s|ys/ioctl|
|00005140| 2e 68 20 65 78 69 73 74 | 73 20 61 6e 64 20 73 68 |.h exist|s and sh|
|00005150| 6f 75 6c 64 0d 20 2a 09 | 62 65 20 69 6e 63 6c 75 |ould. *.|be inclu|
|00005160| 64 65 64 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |ded.. */|.#define|
|00005170| 09 49 5f 53 59 53 49 4f | 43 54 4c 09 09 2f 2a 2a |.I_SYSIO|CTL../**|
|00005180| 2f 0d 0d 2f 2a 20 49 5f | 54 49 4d 45 0d 20 2a 09 |/../* I_|TIME. *.|
|00005190| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 69 73 20 64 |This sym|bol is d|
|000051a0| 65 66 69 6e 65 64 20 69 | 66 20 74 68 65 20 70 72 |efined i|f the pr|
|000051b0| 6f 67 72 61 6d 20 73 68 | 6f 75 6c 64 20 69 6e 63 |ogram sh|ould inc|
|000051c0| 6c 75 64 65 20 3c 74 69 | 6d 65 2e 68 3e 2e 0d 20 |lude <ti|me.h>.. |
|000051d0| 2a 2f 0d 2f 2a 20 49 5f | 53 59 53 5f 54 49 4d 45 |*/./* I_|SYS_TIME|
|000051e0| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 20 |. *.This| symbol |
|000051f0| 69 73 20 64 65 66 69 6e | 65 64 20 69 66 20 74 68 |is defin|ed if th|
|00005200| 65 20 70 72 6f 67 72 61 | 6d 20 73 68 6f 75 6c 64 |e progra|m should|
|00005210| 20 69 6e 63 6c 75 64 65 | 20 3c 73 79 73 2f 74 69 | include| <sys/ti|
|00005220| 6d 65 2e 68 3e 2e 0d 20 | 2a 2f 0d 2f 2a 20 53 59 |me.h>.. |*/./* SY|
|00005230| 53 54 49 4d 45 4b 45 52 | 4e 45 4c 0d 20 2a 09 54 |STIMEKER|NEL. *.T|
|00005240| 68 69 73 20 73 79 6d 62 | 6f 6c 20 69 73 20 64 65 |his symb|ol is de|
|00005250| 66 69 6e 65 64 20 69 66 | 20 74 68 65 20 70 72 6f |fined if| the pro|
|00005260| 67 72 61 6d 20 73 68 6f | 75 6c 64 20 69 6e 63 6c |gram sho|uld incl|
|00005270| 75 64 65 20 3c 73 79 73 | 2f 74 69 6d 65 2e 68 3e |ude <sys|/time.h>|
|00005280| 0d 20 2a 09 77 69 74 68 | 20 4b 45 52 4e 45 4c 20 |. *.with| KERNEL |
|00005290| 64 65 66 69 6e 65 64 2e | 0d 20 2a 2f 0d 2f 2a 20 |defined.|. */./* |
|000052a0| 49 5f 53 59 53 5f 53 45 | 4c 45 43 54 0d 20 2a 09 |I_SYS_SE|LECT. *.|
|000052b0| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 69 73 20 64 |This sym|bol is d|
|000052c0| 65 66 69 6e 65 64 20 69 | 66 20 74 68 65 20 70 72 |efined i|f the pr|
|000052d0| 6f 67 72 61 6d 20 73 68 | 6f 75 6c 64 20 69 6e 63 |ogram sh|ould inc|
|000052e0| 6c 75 64 65 20 3c 73 79 | 73 2f 73 65 6c 65 63 74 |lude <sy|s/select|
|000052f0| 2e 68 3e 2e 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |.h>.. */|.#define|
|00005300| 09 49 5f 54 49 4d 45 09 | 20 09 2f 2a 2a 2f 0d 23 |.I_TIME.| ./**/.#|
|00005310| 64 65 66 69 6e 65 09 49 | 5f 53 59 53 5f 54 49 4d |define.I|_SYS_TIM|
|00005320| 45 20 09 2f 2a 2a 2f 0d | 23 75 6e 64 65 66 09 53 |E ./**/.|#undef.S|
|00005330| 59 53 54 49 4d 45 4b 45 | 52 4e 45 4c 20 09 2f 2a |YSTIMEKE|RNEL ./*|
|00005340| 2a 2f 0d 23 75 6e 64 65 | 66 09 49 5f 53 59 53 5f |*/.#unde|f.I_SYS_|
|00005350| 53 45 4c 45 43 54 20 09 | 2f 2a 2a 2f 0d 0d 2f 2a |SELECT .|/**/../*|
|00005360| 20 49 5f 55 54 49 4d 45 | 0d 20 2a 09 54 68 69 73 | I_UTIME|. *.This|
|00005370| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi|
|00005380| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t|
|00005390| 6f 20 74 68 65 20 43 20 | 70 72 6f 67 72 61 6d 20 |o the C |program |
|000053a0| 74 68 61 74 20 69 74 20 | 73 68 6f 75 6c 64 0d 20 |that it |should. |
|000053b0| 2a 09 69 6e 63 6c 75 64 | 65 20 75 74 69 6d 65 2e |*.includ|e utime.|
|000053c0| 68 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 09 49 |h.. */.#|define.I|
|000053d0| 5f 55 54 49 4d 45 09 09 | 2f 2a 2a 2f 0d 0d 2f 2a |_UTIME..|/**/../*|
|000053e0| 20 49 5f 56 41 52 41 52 | 47 53 0d 20 2a 09 54 68 | I_VARAR|GS. *.Th|
|000053f0| 69 73 20 73 79 6d 62 6f | 6c 2c 20 69 66 20 64 65 |is symbo|l, if de|
|00005400| 66 69 6e 65 64 2c 20 69 | 6e 64 69 63 61 74 65 73 |fined, i|ndicates|
|00005410| 20 74 6f 20 74 68 65 20 | 43 20 70 72 6f 67 72 61 | to the |C progra|
|00005420| 6d 20 74 68 61 74 20 69 | 74 20 73 68 6f 75 6c 64 |m that i|t should|
|00005430| 0d 20 2a 09 69 6e 63 6c | 75 64 65 20 76 61 72 61 |. *.incl|ude vara|
|00005440| 72 67 73 2e 68 2e 0d 20 | 2a 2f 0d 23 75 6e 64 65 |rgs.h.. |*/.#unde|
|00005450| 66 09 49 5f 56 41 52 41 | 52 47 53 09 09 2f 2a 2a |f.I_VARA|RGS../**|
|00005460| 2f 0d 0d 2f 2a 20 49 5f | 56 46 4f 52 4b 0d 20 2a |/../* I_|VFORK. *|
|00005470| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 2c 20 69 66 |.This sy|mbol, if|
|00005480| 20 64 65 66 69 6e 65 64 | 2c 20 69 6e 64 69 63 61 | defined|, indica|
|00005490| 74 65 73 20 74 6f 20 74 | 68 65 20 43 20 70 72 6f |tes to t|he C pro|
|000054a0| 67 72 61 6d 20 74 68 61 | 74 20 69 74 20 73 68 6f |gram tha|t it sho|
|000054b0| 75 6c 64 0d 20 2a 09 69 | 6e 63 6c 75 64 65 20 76 |uld. *.i|nclude v|
|000054c0| 66 6f 72 6b 2e 68 2e 0d | 20 2a 2f 0d 23 75 6e 64 |fork.h..| */.#und|
|000054d0| 65 66 09 49 5f 56 46 4f | 52 4b 09 09 2f 2a 2a 2f |ef.I_VFO|RK../**/|
|000054e0| 0d 0d 2f 2a 20 49 4e 54 | 53 49 5a 45 0d 20 2a 09 |../* INT|SIZE. *.|
|000054f0| 54 68 69 73 20 73 79 6d | 62 6f 6c 20 63 6f 6e 74 |This sym|bol cont|
|00005500| 61 69 6e 73 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |ains the| size of|
|00005510| 20 61 6e 20 69 6e 74 2c | 20 73 6f 20 74 68 61 74 | an int,| so that|
|00005520| 20 74 68 65 20 43 20 70 | 72 65 70 72 6f 63 65 73 | the C p|reproces|
|00005530| 73 6f 72 0d 20 2a 09 63 | 61 6e 20 6d 61 6b 65 20 |sor. *.c|an make |
|00005540| 64 65 63 69 73 69 6f 6e | 73 20 62 61 73 65 64 20 |decision|s based |
|00005550| 6f 6e 20 69 74 2e 0d 20 | 2a 2f 0d 23 64 65 66 69 |on it.. |*/.#defi|
|00005560| 6e 65 20 49 4e 54 53 49 | 5a 45 20 34 09 09 2f 2a |ne INTSI|ZE 4../*|
|00005570| 2a 2f 0d 0d 2f 2a 20 49 | 5f 44 49 52 45 4e 54 0d |*/../* I|_DIRENT.|
|00005580| 20 2a 09 54 68 69 73 20 | 73 79 6d 62 6f 6c 2c 20 | *.This |symbol, |
|00005590| 69 66 20 64 65 66 69 6e | 65 64 2c 20 69 6e 64 69 |if defin|ed, indi|
|000055a0| 63 61 74 65 73 20 74 68 | 61 74 20 74 68 65 20 70 |cates th|at the p|
|000055b0| 72 6f 67 72 61 6d 20 73 | 68 6f 75 6c 64 20 75 73 |rogram s|hould us|
|000055c0| 65 20 74 68 65 0d 20 2a | 09 50 31 30 30 33 2d 73 |e the. *|.P1003-s|
|000055d0| 74 79 6c 65 20 64 69 72 | 65 63 74 6f 72 79 20 72 |tyle dir|ectory r|
|000055e0| 6f 75 74 69 6e 65 73 2c | 20 61 6e 64 20 69 6e 63 |outines,| and inc|
|000055f0| 6c 75 64 65 20 3c 64 69 | 72 65 6e 74 2e 68 3e 2e |lude <di|rent.h>.|
|00005600| 0d 20 2a 2f 0d 2f 2a 20 | 49 5f 53 59 53 5f 44 49 |. */./* |I_SYS_DI|
|00005610| 52 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |R. *.Thi|s symbol|
|00005620| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00005630| 64 69 63 61 74 65 73 20 | 74 68 61 74 20 74 68 65 |dicates |that the|
|00005640| 20 70 72 6f 67 72 61 6d | 20 73 68 6f 75 6c 64 20 | program| should |
|00005650| 75 73 65 20 74 68 65 0d | 20 2a 09 64 69 72 65 63 |use the.| *.direc|
|00005660| 74 6f 72 79 20 66 75 6e | 63 74 69 6f 6e 73 20 62 |tory fun|ctions b|
|00005670| 79 20 69 6e 63 6c 75 64 | 69 6e 67 20 3c 73 79 73 |y includ|ing <sys|
|00005680| 2f 64 69 72 2e 68 3e 2e | 0d 20 2a 2f 0d 2f 2a 20 |/dir.h>.|. */./* |
|00005690| 49 5f 4e 44 49 52 0d 20 | 2a 09 54 68 69 73 20 73 |I_NDIR. |*.This s|
|000056a0| 79 6d 62 6f 6c 2c 20 69 | 66 20 64 65 66 69 6e 65 |ymbol, i|f define|
|000056b0| 64 2c 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 61 |d, indic|ates tha|
|000056c0| 74 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 73 68 |t the pr|ogram sh|
|000056d0| 6f 75 6c 64 20 69 6e 63 | 6c 75 64 65 20 74 68 65 |ould inc|lude the|
|000056e0| 0d 20 2a 09 73 79 73 74 | 65 6d 27 73 20 76 65 72 |. *.syst|em's ver|
|000056f0| 73 69 6f 6e 20 6f 66 20 | 6e 64 69 72 2e 68 2c 20 |sion of |ndir.h, |
|00005700| 72 61 74 68 65 72 20 74 | 68 61 6e 20 74 68 65 20 |rather t|han the |
|00005710| 6f 6e 65 20 77 69 74 68 | 20 74 68 69 73 20 70 61 |one with| this pa|
|00005720| 63 6b 61 67 65 2e 0d 20 | 2a 2f 0d 2f 2a 20 49 5f |ckage.. |*/./* I_|
|00005730| 53 59 53 5f 4e 44 49 52 | 0d 20 2a 09 54 68 69 73 |SYS_NDIR|. *.This|
|00005740| 20 73 79 6d 62 6f 6c 2c | 20 69 66 20 64 65 66 69 | symbol,| if defi|
|00005750| 6e 65 64 2c 20 69 6e 64 | 69 63 61 74 65 73 20 74 |ned, ind|icates t|
|00005760| 68 61 74 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |hat the |program |
|00005770| 73 68 6f 75 6c 64 20 69 | 6e 63 6c 75 64 65 20 74 |should i|nclude t|
|00005780| 68 65 0d 20 2a 09 73 79 | 73 74 65 6d 27 73 20 76 |he. *.sy|stem's v|
|00005790| 65 72 73 69 6f 6e 20 6f | 66 20 73 79 73 2f 6e 64 |ersion o|f sys/nd|
|000057a0| 69 72 2e 68 2c 20 72 61 | 74 68 65 72 20 74 68 61 |ir.h, ra|ther tha|
|000057b0| 6e 20 74 68 65 20 6f 6e | 65 20 77 69 74 68 20 74 |n the on|e with t|
|000057c0| 68 69 73 20 70 61 63 6b | 61 67 65 2e 0d 20 2a 2f |his pack|age.. */|
|000057d0| 0d 2f 2a 20 49 5f 4d 59 | 5f 44 49 52 0d 20 2a 09 |./* I_MY|_DIR. *.|
|000057e0| 54 68 69 73 20 73 79 6d | 62 6f 6c 2c 20 69 66 20 |This sym|bol, if |
|000057f0| 64 65 66 69 6e 65 64 2c | 20 69 6e 64 69 63 61 74 |defined,| indicat|
|00005800| 65 73 20 74 68 61 74 20 | 74 68 65 20 70 72 6f 67 |es that |the prog|
|00005810| 72 61 6d 20 73 68 6f 75 | 6c 64 20 63 6f 6d 70 69 |ram shou|ld compi|
|00005820| 6c 65 0d 20 2a 09 74 68 | 65 20 6e 64 69 72 2e 63 |le. *.th|e ndir.c|
|00005830| 20 63 6f 64 65 20 70 72 | 6f 76 69 64 65 64 20 77 | code pr|ovided w|
|00005840| 69 74 68 20 74 68 65 20 | 70 61 63 6b 61 67 65 2e |ith the |package.|
|00005850| 0d 20 2a 2f 0d 2f 2a 20 | 44 49 52 4e 41 4d 4c 45 |. */./* |DIRNAMLE|
|00005860| 4e 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |N. *.Thi|s symbol|
|00005870| 2c 20 69 66 20 64 65 66 | 69 6e 65 64 2c 20 69 6e |, if def|ined, in|
|00005880| 64 69 63 61 74 65 73 20 | 74 6f 20 74 68 65 20 43 |dicates |to the C|
|00005890| 20 70 72 6f 67 72 61 6d | 20 74 68 61 74 20 74 68 | program| that th|
|000058a0| 65 20 6c 65 6e 67 74 68 | 0d 20 2a 09 6f 66 20 64 |e length|. *.of d|
|000058b0| 69 72 65 63 74 6f 72 79 | 20 65 6e 74 72 79 20 6e |irectory| entry n|
|000058c0| 61 6d 65 73 20 69 73 20 | 70 72 6f 76 69 64 65 64 |ames is |provided|
|000058d0| 20 62 79 20 61 20 64 5f | 6e 61 6d 6c 65 6e 20 66 | by a d_|namlen f|
|000058e0| 69 65 6c 64 2e 20 20 4f | 74 68 65 72 77 69 73 65 |ield. O|therwise|
|000058f0| 0d 20 2a 09 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 |. *.you |need to |
|00005900| 64 6f 20 73 74 72 6c 65 | 6e 28 29 20 6f 6e 20 74 |do strle|n() on t|
|00005910| 68 65 20 64 5f 6e 61 6d | 65 20 66 69 65 6c 64 2e |he d_nam|e field.|
|00005920| 0d 20 2a 2f 0d 23 64 65 | 66 69 6e 65 09 49 5f 44 |. */.#de|fine.I_D|
|00005930| 49 52 45 4e 54 09 2f 2a | 2a 2f 0d 23 75 6e 64 65 |IRENT./*|*/.#unde|
|00005940| 66 09 49 5f 53 59 53 5f | 44 49 52 09 2f 2a 2a 2f |f.I_SYS_|DIR./**/|
|00005950| 0d 23 75 6e 64 65 66 09 | 49 5f 4e 44 49 52 09 09 |.#undef.|I_NDIR..|
|00005960| 2f 2a 2a 2f 0d 23 75 6e | 64 65 66 09 49 5f 53 59 |/**/.#un|def.I_SY|
|00005970| 53 5f 4e 44 49 52 09 2f | 2a 2a 2f 0d 23 75 6e 64 |S_NDIR./|**/.#und|
|00005980| 65 66 09 49 5f 4d 59 5f | 44 49 52 09 2f 2a 2a 2f |ef.I_MY_|DIR./**/|
|00005990| 0d 23 64 65 66 69 6e 65 | 09 44 49 52 4e 41 4d 4c |.#define|.DIRNAML|
|000059a0| 45 4e 09 2f 2a 2a 2f 0d | 0d 2f 2a 20 4d 59 4d 41 |EN./**/.|./* MYMA|
|000059b0| 4c 4c 4f 43 0d 20 2a 09 | 54 68 69 73 20 73 79 6d |LLOC. *.|This sym|
|000059c0| 62 6f 6c 2c 20 69 66 20 | 64 65 66 69 6e 65 64 2c |bol, if |defined,|
|000059d0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|000059e0| 77 65 27 72 65 20 75 73 | 69 6e 67 20 6f 75 72 20 |we're us|ing our |
|000059f0| 6f 77 6e 20 6d 61 6c 6c | 6f 63 2e 0d 20 2a 2f 0d |own mall|oc.. */.|
|00005a00| 2f 2a 20 4d 41 4c 4c 4f | 43 50 54 52 54 59 50 45 |/* MALLO|CPTRTYPE|
|00005a10| 0d 20 2a 09 54 68 69 73 | 20 73 79 6d 62 6f 6c 20 |. *.This| symbol |
|00005a20| 64 65 66 69 6e 65 73 20 | 74 68 65 20 6b 69 6e 64 |defines |the kind|
|00005a30| 20 6f 66 20 70 74 72 20 | 72 65 74 75 72 6e 65 64 | of ptr |returned|
|00005a40| 20 62 79 20 6d 61 6c 6c | 6f 63 20 61 6e 64 20 72 | by mall|oc and r|
|00005a50| 65 61 6c 6c 6f 63 2e 0d | 20 2a 2f 0d 23 75 6e 64 |ealloc..| */.#und|
|00005a60| 65 66 20 4d 59 4d 41 4c | 4c 4f 43 09 09 09 2f 2a |ef MYMAL|LOC.../*|
|00005a70| 2a 2f 0d 0d 23 64 65 66 | 69 6e 65 20 4d 41 4c 4c |*/..#def|ine MALL|
|00005a80| 4f 43 50 54 52 54 59 50 | 45 20 76 6f 69 64 20 20 |OCPTRTYP|E void |
|00005a90| 20 20 20 20 20 20 20 2f | 2a 2a 2f 0d 0d 2f 2a 20 | /|**/../* |
|00005aa0| 52 41 4e 44 42 49 54 53 | 0d 20 2a 09 54 68 69 73 |RANDBITS|. *.This|
|00005ab0| 20 73 79 6d 62 6f 6c 20 | 63 6f 6e 74 61 69 6e 73 | symbol |contains|
|00005ac0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00005ad0| 69 74 73 20 6f 66 20 72 | 61 6e 64 6f 6d 20 6e 75 |its of r|andom nu|
|00005ae0| 6d 62 65 72 20 74 68 65 | 20 72 61 6e 64 28 29 0d |mber the| rand().|
|00005af0| 20 2a 09 66 75 6e 63 74 | 69 6f 6e 20 70 72 6f 64 | *.funct|ion prod|
|00005b00| 75 63 65 73 2e 20 20 55 | 73 75 61 6c 20 76 61 6c |uces. U|sual val|
|00005b10| 75 65 73 20 61 72 65 20 | 31 35 2c 20 31 36 2c 20 |ues are |15, 16, |
|00005b20| 61 6e 64 20 33 31 2e 0d | 20 2a 2f 0d 23 64 65 66 |and 31..| */.#def|
|00005b30| 69 6e 65 20 52 41 4e 44 | 42 49 54 53 20 31 35 09 |ine RAND|BITS 15.|
|00005b40| 09 2f 2a 2a 2f 0d 0d 2f | 2a 20 53 43 52 49 50 54 |./**/../|* SCRIPT|
|00005b50| 44 49 52 0d 20 2a 09 54 | 68 69 73 20 73 79 6d 62 |DIR. *.T|his symb|
|00005b60| 6f 6c 20 68 6f 6c 64 73 | 20 74 68 65 20 6e 61 6d |ol holds| the nam|
|00005b70| 65 20 6f 66 20 74 68 65 | 20 64 69 72 65 63 74 6f |e of the| directo|
|00005b80| 72 79 20 69 6e 20 77 68 | 69 63 68 20 74 68 65 20 |ry in wh|ich the |
|00005b90| 75 73 65 72 20 77 61 6e | 74 73 0d 20 2a 09 74 6f |user wan|ts. *.to|
|00005ba0| 20 70 75 74 20 70 75 62 | 6c 69 63 6c 79 20 65 78 | put pub|licly ex|
|00005bb0| 65 63 75 74 61 62 6c 65 | 20 73 63 72 69 70 74 73 |ecutable| scripts|
|00005bc0| 20 66 6f 72 20 74 68 65 | 20 70 61 63 6b 61 67 65 | for the| package|
|00005bd0| 20 69 6e 20 71 75 65 73 | 74 69 6f 6e 2e 20 20 49 | in ques|tion. I|
|00005be0| 74 0d 20 2a 09 69 73 20 | 6f 66 74 65 6e 20 61 20 |t. *.is |often a |
|00005bf0| 64 69 72 65 63 74 6f 72 | 79 20 74 68 61 74 20 69 |director|y that i|
|00005c00| 73 20 6d 6f 75 6e 74 65 | 64 20 61 63 72 6f 73 73 |s mounte|d across|
|00005c10| 20 64 69 76 65 72 73 65 | 20 61 72 63 68 69 74 65 | diverse| archite|
|00005c20| 63 74 75 72 65 73 2e 0d | 20 2a 2f 0d 23 64 65 66 |ctures..| */.#def|
|00005c30| 69 6e 65 20 53 43 52 49 | 50 54 44 49 52 20 22 22 |ine SCRI|PTDIR ""|
|00005c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 2a | | /**|
|00005c50| 2f 0d 0d 2f 2a 20 53 49 | 47 5f 4e 41 4d 45 0d 20 |/../* SI|G_NAME. |
|00005c60| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 20 63 6f |*.This s|ymbol co|
|00005c70| 6e 74 61 69 6e 73 20 61 | 6e 20 6c 69 73 74 20 6f |ntains a|n list o|
|00005c80| 66 20 73 69 67 6e 61 6c | 20 6e 61 6d 65 73 20 69 |f signal| names i|
|00005c90| 6e 20 6f 72 64 65 72 2e | 0d 20 2a 2f 0d 23 64 65 |n order.|. */.#de|
|00005ca0| 66 69 6e 65 20 53 49 47 | 5f 4e 41 4d 45 20 22 5a |fine SIG|_NAME "Z|
|00005cb0| 45 52 4f 22 2c 22 41 42 | 52 54 22 2c 22 49 4e 54 |ERO","AB|RT","INT|
|00005cc0| 22 2c 22 46 50 45 22 2c | 22 49 4c 4c 22 2c 22 53 |","FPE",|"ILL","S|
|00005cd0| 45 47 56 22 2c 22 54 45 | 52 4d 22 09 09 2f 2a 2a |EGV","TE|RM"../**|
|00005ce0| 2f 0d 0d 2f 2a 20 53 54 | 44 43 48 41 52 0d 20 2a |/../* ST|DCHAR. *|
|00005cf0| 09 54 68 69 73 20 73 79 | 6d 62 6f 6c 20 69 73 20 |.This sy|mbol is |
|00005d00| 64 65 66 69 6e 65 64 20 | 74 6f 20 62 65 20 74 68 |defined |to be th|
|00005d10| 65 20 74 79 70 65 20 6f | 66 20 63 68 61 72 20 75 |e type o|f char u|
|00005d20| 73 65 64 20 69 6e 20 73 | 74 64 69 6f 2e 68 2e 0d |sed in s|tdio.h..|
|00005d30| 20 2a 09 49 74 20 68 61 | 73 20 74 68 65 20 76 61 | *.It ha|s the va|
|00005d40| 6c 75 65 73 20 22 75 6e | 73 69 67 6e 65 64 20 63 |lues "un|signed c|
|00005d50| 68 61 72 22 20 6f 72 20 | 22 63 68 61 72 22 2e 0d |har" or |"char"..|
|00005d60| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 53 54 44 43 | */.#def|ine STDC|
|00005d70| 48 41 52 20 63 68 61 72 | 09 2f 2a 2a 2f 0d 0d 2f |HAR char|./**/../|
|00005d80| 2a 20 55 49 44 54 59 50 | 45 0d 20 2a 09 54 68 69 |* UIDTYP|E. *.Thi|
|00005d90| 73 20 73 79 6d 62 6f 6c | 20 68 61 73 20 61 20 76 |s symbol| has a v|
|00005da0| 61 6c 75 65 20 6c 69 6b | 65 20 75 69 64 5f 74 2c |alue lik|e uid_t,|
|00005db0| 20 69 6e 74 2c 20 75 73 | 68 6f 72 74 2c 20 6f 72 | int, us|hort, or|
|00005dc0| 20 77 68 61 74 65 76 65 | 72 20 74 79 70 65 20 69 | whateve|r type i|
|00005dd0| 73 0d 20 2a 09 75 73 65 | 64 20 74 6f 20 64 65 63 |s. *.use|d to dec|
|00005de0| 6c 61 72 65 20 75 73 65 | 72 20 69 64 73 20 69 6e |lare use|r ids in|
|00005df0| 20 74 68 65 20 6b 65 72 | 6e 65 6c 2e 0d 20 2a 2f | the ker|nel.. */|
|00005e00| 0d 23 64 65 66 69 6e 65 | 20 55 49 44 54 59 50 45 |.#define| UIDTYPE|
|00005e10| 20 69 6e 74 09 09 2f 2a | 2a 2f 0d 0d 2f 2a 20 56 | int../*|*/../* V|
|00005e20| 4f 49 44 48 41 56 45 0d | 20 2a 09 54 68 69 73 20 |OIDHAVE.| *.This |
|00005e30| 73 79 6d 62 6f 6c 20 69 | 6e 64 69 63 61 74 65 73 |symbol i|ndicates|
|00005e40| 20 68 6f 77 20 6d 75 63 | 68 20 73 75 70 70 6f 72 | how muc|h suppor|
|00005e50| 74 20 6f 66 20 74 68 65 | 20 76 6f 69 64 20 74 79 |t of the| void ty|
|00005e60| 70 65 20 69 73 20 67 69 | 76 65 6e 20 62 79 20 74 |pe is gi|ven by t|
|00005e70| 68 69 73 0d 20 2a 09 63 | 6f 6d 70 69 6c 65 72 2e |his. *.c|ompiler.|
|00005e80| 20 20 57 68 61 74 20 76 | 61 72 69 6f 75 73 20 62 | What v|arious b|
|00005e90| 69 74 73 20 6d 65 61 6e | 3a 0d 20 2a 0d 20 2a 09 |its mean|:. *. *.|
|00005ea0| 20 20 20 20 31 20 3d 20 | 73 75 70 70 6f 72 74 73 | 1 = |supports|
|00005eb0| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 6f 66 20 | declara|tion of |
|00005ec0| 76 6f 69 64 0d 20 2a 09 | 20 20 20 20 32 20 3d 20 |void. *.| 2 = |
|00005ed0| 73 75 70 70 6f 72 74 73 | 20 61 72 72 61 79 73 20 |supports| arrays |
|00005ee0| 6f 66 20 70 6f 69 6e 74 | 65 72 73 20 74 6f 20 66 |of point|ers to f|
|00005ef0| 75 6e 63 74 69 6f 6e 73 | 20 72 65 74 75 72 6e 69 |unctions| returni|
|00005f00| 6e 67 20 76 6f 69 64 0d | 20 2a 09 20 20 20 20 34 |ng void.| *. 4|
|00005f10| 20 3d 20 73 75 70 70 6f | 72 74 73 20 63 6f 6d 70 | = suppo|rts comp|
|00005f20| 61 72 69 73 6f 6e 73 20 | 62 65 74 77 65 65 6e 20 |arisons |between |
|00005f30| 70 6f 69 6e 74 65 72 73 | 20 74 6f 20 76 6f 69 64 |pointers| to void|
|00005f40| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 6e 64 0d 20 | functio|ns and. |
|00005f50| 2a 09 09 20 20 20 20 61 | 64 64 72 65 73 73 65 73 |*.. a|ddresses|
|00005f60| 20 6f 66 20 76 6f 69 64 | 20 66 75 6e 63 74 69 6f | of void| functio|
|00005f70| 6e 73 0d 20 2a 0d 20 2a | 09 54 68 65 20 70 61 63 |ns. *. *|.The pac|
|00005f80| 6b 61 67 65 20 64 65 73 | 69 67 6e 65 72 20 73 68 |kage des|igner sh|
|00005f90| 6f 75 6c 64 20 64 65 66 | 69 6e 65 20 56 4f 49 44 |ould def|ine VOID|
|00005fa0| 57 41 4e 54 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |WANT to |indicate|
|00005fb0| 20 74 68 65 20 72 65 71 | 75 69 72 65 6d 65 6e 74 | the req|uirement|
|00005fc0| 73 0d 20 2a 09 6f 66 20 | 74 68 65 20 70 61 63 6b |s. *.of |the pack|
|00005fd0| 61 67 65 2e 20 20 54 68 | 69 73 20 63 61 6e 20 62 |age. Th|is can b|
|00005fe0| 65 20 64 6f 6e 65 20 65 | 69 74 68 65 72 20 62 79 |e done e|ither by|
|00005ff0| 20 23 64 65 66 69 6e 69 | 6e 67 20 56 4f 49 44 57 | #defini|ng VOIDW|
|00006000| 41 4e 54 20 62 65 66 6f | 72 65 0d 20 2a 09 69 6e |ANT befo|re. *.in|
|00006010| 63 6c 75 64 69 6e 67 20 | 63 6f 6e 66 69 67 2e 68 |cluding |config.h|
|00006020| 2c 20 6f 72 20 62 79 20 | 64 65 66 69 6e 69 6e 67 |, or by |defining|
|00006030| 20 76 6f 69 64 77 61 6e | 74 20 69 6e 20 4d 79 69 | voidwan|t in Myi|
|00006040| 6e 69 74 2e 55 2e 20 20 | 49 66 20 74 68 65 20 6c |nit.U. |If the l|
|00006050| 65 76 65 6c 0d 20 2a 09 | 6f 66 20 76 6f 69 64 20 |evel. *.|of void |
|00006060| 73 75 70 70 6f 72 74 20 | 6e 65 63 65 73 73 61 72 |support |necessar|
|00006070| 79 20 69 73 20 6e 6f 74 | 20 70 72 65 73 65 6e 74 |y is not| present|
|00006080| 2c 20 63 6f 6e 66 69 67 | 2e 68 20 64 65 66 69 6e |, config|.h defin|
|00006090| 65 73 20 76 6f 69 64 20 | 74 6f 20 22 69 6e 74 22 |es void |to "int"|
|000060a0| 2c 0d 20 2a 09 56 4f 49 | 44 20 74 6f 20 74 68 65 |,. *.VOI|D to the|
|000060b0| 20 65 6d 70 74 79 20 73 | 74 72 69 6e 67 2c 20 61 | empty s|tring, a|
|000060c0| 6e 64 20 56 4f 49 44 50 | 20 74 6f 20 22 63 68 61 |nd VOIDP| to "cha|
|000060d0| 72 20 2a 22 2e 0d 20 2a | 2f 0d 2f 2a 20 76 6f 69 |r *".. *|/./* voi|
|000060e0| 64 0d 20 2a 09 54 68 69 | 73 20 73 79 6d 62 6f 6c |d. *.Thi|s symbol|
|000060f0| 20 69 73 20 75 73 65 64 | 20 66 6f 72 20 76 6f 69 | is used| for voi|
|00006100| 64 20 63 61 73 74 73 2e | 20 20 4f 6e 20 69 6d 70 |d casts.| On imp|
|00006110| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 73 20 77 68 69 |lementat|ions whi|
|00006120| 63 68 20 73 75 70 70 6f | 72 74 0d 20 2a 09 76 6f |ch suppo|rt. *.vo|
|00006130| 69 64 20 61 70 70 72 6f | 70 72 69 61 74 65 6c 79 |id appro|priately|
|00006140| 2c 20 69 74 73 20 76 61 | 6c 75 65 20 69 73 20 22 |, its va|lue is "|
|00006150| 76 6f 69 64 22 2e 20 20 | 4f 74 68 65 72 77 69 73 |void". |Otherwis|
|00006160| 65 2c 20 69 74 73 20 76 | 61 6c 75 65 20 6d 61 70 |e, its v|alue map|
|00006170| 73 0d 20 2a 09 74 6f 20 | 22 69 6e 74 22 2e 0d 20 |s. *.to |"int".. |
|00006180| 2a 2f 0d 2f 2a 20 56 4f | 49 44 0d 20 2a 09 54 68 |*/./* VO|ID. *.Th|
|00006190| 69 73 20 73 79 6d 62 6f | 6c 27 73 20 76 61 6c 75 |is symbo|l's valu|
|000061a0| 65 20 69 73 20 22 76 6f | 69 64 22 20 69 66 20 74 |e is "vo|id" if t|
|000061b0| 68 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |he imple|mentatio|
|000061c0| 6e 20 73 75 70 70 6f 72 | 74 73 20 76 6f 69 64 0d |n suppor|ts void.|
|000061d0| 20 2a 09 61 70 70 72 6f | 70 72 69 61 74 65 6c 79 | *.appro|priately|
|000061e0| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 69 74 |. Other|wise, it|
|000061f0| 73 20 76 61 6c 75 65 20 | 69 73 20 74 68 65 20 65 |s value |is the e|
|00006200| 6d 70 74 79 20 73 74 72 | 69 6e 67 2e 20 20 54 68 |mpty str|ing. Th|
|00006210| 65 20 70 72 69 6d 61 72 | 79 0d 20 2a 09 75 73 65 |e primar|y. *.use|
|00006220| 20 6f 66 20 74 68 69 73 | 20 73 79 6d 62 6f 6c 20 | of this| symbol |
|00006230| 69 73 20 69 6e 20 73 70 | 65 63 69 66 79 69 6e 67 |is in sp|ecifying|
|00006240| 20 76 6f 69 64 20 70 61 | 72 61 6d 65 74 65 72 20 | void pa|rameter |
|00006250| 6c 69 73 74 73 20 66 6f | 72 20 66 75 6e 63 74 69 |lists fo|r functi|
|00006260| 6f 6e 0d 20 2a 09 70 72 | 6f 74 6f 74 79 70 65 73 |on. *.pr|ototypes|
|00006270| 2e 0d 20 2a 2f 0d 2f 2a | 20 56 4f 49 44 50 0d 20 |.. */./*| VOIDP. |
|00006280| 2a 09 54 68 69 73 20 73 | 79 6d 62 6f 6c 20 69 73 |*.This s|ymbol is|
|00006290| 20 75 73 65 64 20 66 6f | 72 20 63 61 73 74 69 6e | used fo|r castin|
|000062a0| 67 20 67 65 6e 65 72 69 | 63 20 70 6f 69 6e 74 65 |g generi|c pointe|
|000062b0| 72 73 2e 20 20 4f 6e 20 | 69 6d 70 6c 65 6d 65 6e |rs. On |implemen|
|000062c0| 74 61 74 69 6f 6e 73 0d | 20 2a 09 77 68 69 63 68 |tations.| *.which|
|000062d0| 20 73 75 70 70 6f 72 74 | 20 76 6f 69 64 20 61 70 | support| void ap|
|000062e0| 70 72 6f 70 72 69 61 74 | 65 6c 79 2c 20 69 74 73 |propriat|ely, its|
|000062f0| 20 76 61 6c 75 65 20 69 | 73 20 22 76 6f 69 64 20 | value i|s "void |
|00006300| 2a 22 2e 20 20 4f 74 68 | 65 72 77 69 73 65 2c 0d |*". Oth|erwise,.|
|00006310| 20 2a 09 69 74 73 20 76 | 61 6c 75 65 20 69 73 20 | *.its v|alue is |
|00006320| 22 63 68 61 72 20 2a 22 | 2e 0d 20 2a 2f 0d 23 69 |"char *"|.. */.#i|
|00006330| 66 6e 64 65 66 20 56 4f | 49 44 57 41 4e 54 0d 23 |fndef VO|IDWANT.#|
|00006340| 64 65 66 69 6e 65 20 56 | 4f 49 44 57 41 4e 54 20 |define V|OIDWANT |
|00006350| 31 0d 23 65 6e 64 69 66 | 0d 23 64 65 66 69 6e 65 |1.#endif|.#define|
|00006360| 20 56 4f 49 44 48 41 56 | 45 20 37 0d 23 69 66 20 | VOIDHAV|E 7.#if |
|00006370| 28 56 4f 49 44 48 41 56 | 45 20 26 20 56 4f 49 44 |(VOIDHAV|E & VOID|
|00006380| 57 41 4e 54 29 20 21 3d | 20 56 4f 49 44 57 41 4e |WANT) !=| VOIDWAN|
|00006390| 54 0d 23 64 65 66 69 6e | 65 20 76 6f 69 64 20 69 |T.#defin|e void i|
|000063a0| 6e 74 09 09 2f 2a 20 69 | 73 20 76 6f 69 64 20 74 |nt../* i|s void t|
|000063b0| 6f 20 62 65 20 61 76 6f | 69 64 65 64 3f 20 2a 2f |o be avo|ided? */|
|000063c0| 0d 23 64 65 66 69 6e 65 | 20 56 4f 49 44 0d 23 64 |.#define| VOID.#d|
|000063d0| 65 66 69 6e 65 20 56 4f | 49 44 50 20 28 63 68 61 |efine VO|IDP (cha|
|000063e0| 72 20 2a 29 0d 23 64 65 | 66 69 6e 65 20 4d 5f 56 |r *).#de|fine M_V|
|000063f0| 4f 49 44 09 09 2f 2a 20 | 58 65 6e 69 78 20 73 74 |OID../* |Xenix st|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.