home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / python / pytex / pytexdoc / lib1 / fcntl / tex / node1_ct.html < prev    next >
LaTeX Document  |  1996-11-08  |  2.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 42 75 | 69 6c 74 2d 69 6e 20 4d |ts of Bu|ilt-in M|
|000000b0| 6f 64 75 6c 65 20 66 63 | 6e 74 6c 3c 2f 54 49 54 |odule fc|ntl</TIT|
|000000c0| 4c 45 3e 0a 0a 3c 4d 45 | 54 41 20 48 54 54 50 2d |LE>..<ME|TA HTTP-|
|000000d0| 45 51 55 49 56 3d 22 43 | 6f 6e 74 65 6e 74 2d 54 |EQUIV="C|ontent-T|
|000000e0| 79 70 65 22 20 43 4f 4e | 54 45 4e 54 3d 22 74 65 |ype" CON|TENT="te|
|000000f0| 78 74 2f 68 74 6d 6c 3b | 20 63 68 61 72 73 65 74 |xt/html;| charset|
|00000100| 3d 75 74 66 2d 38 22 3e | 0a 3c 4d 45 54 41 20 4e |=utf-8">|.<META N|
|00000110| 41 4d 45 3d 22 76 69 65 | 77 70 6f 72 74 22 20 43 |AME="vie|wport" C|
|00000120| 4f 4e 54 45 4e 54 3d 22 | 77 69 64 74 68 3d 64 65 |ONTENT="|width=de|
|00000130| 76 69 63 65 2d 77 69 64 | 74 68 2c 20 69 6e 69 74 |vice-wid|th, init|
|00000140| 69 61 6c 2d 73 63 61 6c | 65 3d 31 2e 30 22 3e 0a |ial-scal|e=1.0">.|
|00000150| 3c 4d 45 54 41 20 4e 41 | 4d 45 3d 22 47 65 6e 65 |<META NA|ME="Gene|
|00000160| 72 61 74 6f 72 22 20 43 | 4f 4e 54 45 4e 54 3d 22 |rator" C|ONTENT="|
|00000170| 4c 61 54 65 58 32 48 54 | 4d 4c 20 76 32 30 32 32 |LaTeX2HT|ML v2022|
|00000180| 22 3e 0a 0a 3c 4c 49 4e | 4b 20 52 45 4c 3d 22 53 |">..<LIN|K REL="S|
|00000190| 54 59 4c 45 53 48 45 45 | 54 22 20 48 52 45 46 3d |TYLESHEE|T" HREF=|
|000001a0| 22 74 65 78 2e 63 73 73 | 22 3e 0a 0a 3c 4c 49 4e |"tex.css|">..<LIN|
|000001b0| 4b 20 52 45 4c 3d 22 70 | 72 65 76 69 6f 75 73 22 |K REL="p|revious"|
|000001c0| 20 48 52 45 46 3d 22 74 | 65 78 5f 6d 6e 2e 68 74 | HREF="t|ex_mn.ht|
|000001d0| 6d 6c 22 3e 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |ml">.<LI|NK REL="|
|000001e0| 75 70 22 20 48 52 45 46 | 3d 22 74 65 78 5f 6d 6e |up" HREF|="tex_mn|
|000001f0| 2e 68 74 6d 6c 22 3e 0a | 3c 2f 48 45 41 44 3e 0a |.html">.|</HEAD>.|
|00000200| 20 0a 3c 42 4f 44 59 20 | 62 67 63 6f 6c 6f 72 3d | .<BODY |bgcolor=|
|00000210| 22 23 66 66 66 66 66 66 | 22 20 74 65 78 74 3d 22 |"#ffffff|" text="|
|00000220| 23 30 30 30 30 30 30 22 | 20 6c 69 6e 6b 3d 22 23 |#000000"| link="#|
|00000230| 39 39 34 34 45 45 22 20 | 76 6c 69 6e 6b 3d 22 23 |9944EE" |vlink="#|
|00000240| 30 30 30 30 66 66 22 20 | 61 6c 69 6e 6b 3d 22 23 |0000ff" |alink="#|
|00000250| 30 30 66 66 30 30 22 3e | 0a 0a 3c 48 31 3e 3c 41 |00ff00">|..<H1><A|
|00000260| 20 49 44 3d 22 53 45 43 | 54 49 4f 4e 30 30 30 31 | ID="SEC|TION0001|
|00000270| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |00000000|00000000|
|00000280| 22 3e 0a 42 75 69 6c 74 | 2d 69 6e 20 4d 6f 64 75 |">.Built|-in Modu|
|00000290| 6c 65 20 66 63 6e 74 6c | 3c 2f 41 3e 0a 3c 2f 48 |le fcntl|</A>.</H|
|000002a0| 31 3e 0a 66 63 6e 74 6c | 0a 66 69 6c 65 20 63 6f |1>.fcntl|.file co|
|000002b0| 6e 74 72 6f 6c 0a 49 2f | 4f 20 63 6f 6e 74 72 6f |ntrol.I/|O contro|
|000002c0| 6c 0a 0a 3c 50 3e 0a 54 | 68 69 73 20 6d 6f 64 75 |l..<P>.T|his modu|
|000002d0| 6c 65 20 70 65 72 66 6f | 72 6d 73 20 66 69 6c 65 |le perfo|rms file|
|000002e0| 20 63 6f 6e 74 72 6f 6c | 20 61 6e 64 20 49 2f 4f | control| and I/O|
|000002f0| 20 63 6f 6e 74 72 6f 6c | 20 6f 6e 20 66 69 6c 65 | control| on file|
|00000300| 20 64 65 73 63 72 69 70 | 74 6f 72 73 2e 0a 49 74 | descrip|tors..It|
|00000310| 20 69 73 20 61 6e 20 69 | 6e 74 65 72 66 61 63 65 | is an i|nterface|
|00000320| 20 74 6f 20 74 68 65 20 | 66 63 6e 74 6c 28 29 20 | to the |fcntl() |
|00000330| 61 6e 64 20 69 6f 63 74 | 6c 28 29 20 20 72 6f 75 |and ioct|l() rou|
|00000340| 74 69 6e 65 73 2e 0a 46 | 69 6c 65 20 64 65 73 63 |tines..F|ile desc|
|00000350| 72 69 70 74 6f 72 73 20 | 63 61 6e 20 62 65 20 6f |riptors |can be o|
|00000360| 62 74 61 69 6e 65 64 20 | 77 69 74 68 20 74 68 65 |btained |with the|
|00000370| 20 66 69 6c 65 6e 6f 28 | 29 20 6d 65 74 68 6f 64 | fileno(|) method|
|00000380| 20 6f 66 20 61 0a 66 69 | 6c 65 20 6f 72 20 73 6f | of a.fi|le or so|
|00000390| 63 6b 65 74 20 6f 62 6a | 65 63 74 2e 0a 0a 3c 50 |cket obj|ect...<P|
|000003a0| 3e 0a 54 68 65 20 6d 6f | 64 75 6c 65 20 64 65 66 |>.The mo|dule def|
|000003b0| 69 6e 65 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ines the| followi|
|000003c0| 6e 67 20 66 75 6e 63 74 | 69 6f 6e 73 3a 0a 0a 3c |ng funct|ions:..<|
|000003d0| 50 3e 0a 0a 3c 50 3e 0a | 3c 42 52 3e 0a 3c 49 4d |P>..<P>.|<BR>.<IM|
|000003e0| 47 0a 20 20 53 54 59 4c | 45 3d 22 68 65 69 67 68 |G. STYL|E="heigh|
|000003f0| 74 3a 20 31 39 36 2e 32 | 35 65 78 3b 20 76 65 72 |t: 196.2|5ex; ver|
|00000400| 74 69 63 61 6c 2d 61 6c | 69 67 6e 3a 20 2d 30 2e |tical-al|ign: -0.|
|00000410| 37 30 65 78 3b 20 22 20 | 53 52 43 3d 22 69 6d 67 |70ex; " |SRC="img|
|00000420| 31 2e 70 6e 67 22 0a 20 | 41 4c 54 3d 22 5c 62 65 |1.png". |ALT="\be|
|00000430| 67 69 6e 7b 66 75 6e 63 | 64 65 73 63 7d 7b 66 63 |gin{func|desc}{fc|
|00000440| 6e 74 6c 7d 7b 66 64 5c | 2c 20 6f 70 5c 6f 70 74 |ntl}{fd\|, op\opt|
|00000450| 69 6f 6e 61 6c 7b 5c 2c | 20 61 72 67 7d 7d 0a 50 |ional{\,| arg}}.P|
|00000460| 65 72 66 6f 72 6d 20 74 | 68 65 20 72 65 71 75 65 |erform t|he reque|
|00000470| 73 74 65 64 20 6f 70 65 | 72 61 74 69 2e 2e 2e 0a |sted ope|rati....|
|00000480| 2e 2e 2e 63 61 73 65 20 | 74 68 65 0a 5c 63 6f 64 |...case |the.\cod|
|00000490| 65 7b 66 63 6e 74 6c 28 | 29 7d 20 66 61 69 6c 73 |e{fcntl(|)} fails|
|000004a0| 2c 20 61 6e 20 5c 63 6f | 64 65 7b 49 4f 45 72 72 |, an \co|de{IOErr|
|000004b0| 6f 72 7d 20 77 69 6c 6c | 20 62 65 20 72 61 69 73 |or} will| be rais|
|000004c0| 65 64 2e 0a 5c 65 6e 64 | 7b 66 75 6e 63 64 65 73 |ed..\end|{funcdes|
|000004d0| 63 7d 22 3e 0a 3c 42 52 | 3e 0a 0a 3c 50 3e 0a 3c |c}">.<BR|>..<P>.<|
|000004e0| 42 52 3e 0a 3c 49 4d 47 | 0a 20 20 53 54 59 4c 45 |BR>.<IMG|. STYLE|
|000004f0| 3d 22 68 65 69 67 68 74 | 3a 20 32 2e 31 37 65 78 |="height|: 2.17ex|
|00000500| 3b 20 76 65 72 74 69 63 | 61 6c 2d 61 6c 69 67 6e |; vertic|al-align|
|00000510| 3a 20 31 37 36 2e 34 31 | 65 78 3b 20 22 20 53 52 |: 176.41|ex; " SR|
|00000520| 43 3d 22 69 6d 67 32 2e | 70 6e 67 22 0a 20 41 4c |C="img2.|png". AL|
|00000530| 54 3d 22 5c 62 65 67 69 | 6e 7b 66 75 6e 63 64 65 |T="\begi|n{funcde|
|00000540| 73 63 7d 7b 69 6f 63 74 | 6c 7d 7b 66 64 5c 2c 20 |sc}{ioct|l}{fd\, |
|00000550| 6f 70 5c 2c 20 61 72 67 | 7d 0a 54 68 69 73 20 66 |op\, arg|}.This f|
|00000560| 75 6e 63 74 69 6f 6e 20 | 69 73 20 69 64 65 6e 74 |unction |is ident|
|00000570| 69 63 61 6c 20 74 6f 20 | 74 68 65 20 5c 63 6f 64 |ical to |the \cod|
|00000580| 65 7b 2e 2e 2e 0a 2e 2e | 2e 61 74 69 6f 6e 73 20 |e{......|.ations |
|00000590| 61 72 65 20 74 79 70 69 | 63 61 6c 6c 79 20 64 65 |are typi|cally de|
|000005a0| 66 69 6e 65 64 20 69 6e | 20 74 68 65 20 6c 69 62 |fined in| the lib|
|000005b0| 72 61 72 79 20 6d 6f 64 | 75 6c 65 0a 5c 63 6f 64 |rary mod|ule.\cod|
|000005c0| 65 7b 49 4f 43 54 4c 7d | 2e 0a 5c 65 6e 64 7b 66 |e{IOCTL}|..\end{f|
|000005d0| 75 6e 63 64 65 73 63 7d | 22 3e 0a 3c 42 52 3e 0a |uncdesc}|">.<BR>.|
|000005e0| 0a 3c 50 3e 0a 3c 42 52 | 3e 0a 3c 49 4d 47 0a 20 |.<P>.<BR|>.<IMG. |
|000005f0| 20 53 54 59 4c 45 3d 22 | 68 65 69 67 68 74 3a 20 | STYLE="|height: |
|00000600| 32 2e 33 38 65 78 3b 20 | 76 65 72 74 69 63 61 6c |2.38ex; |vertical|
|00000610| 2d 61 6c 69 67 6e 3a 20 | 31 37 36 2e 32 37 65 78 |-align: |176.27ex|
|00000620| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 33 2e 70 6e |; " SRC=|"img3.pn|
|00000630| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000640| 66 75 6e 63 64 65 73 63 | 7d 7b 66 6c 6f 63 6b 7d |funcdesc|}{flock}|
|00000650| 7b 66 64 5c 2c 20 6f 70 | 7d 0a 50 65 72 66 6f 72 |{fd\, op|}.Perfor|
|00000660| 6d 20 74 68 65 20 6c 6f | 63 6b 20 6f 70 65 72 61 |m the lo|ck opera|
|00000670| 74 69 6f 6e 20 5c 76 61 | 72 7b 6f 70 7d 20 6f 6e |tion \va|r{op} on|
|00000680| 20 66 69 6c 65 20 64 65 | 73 2e 2e 2e 0a 2e 2e 2e | file de|s.......|
|00000690| 20 28 4f 6e 20 73 6f 6d | 65 20 73 79 73 74 65 6d | (On som|e system|
|000006a0| 73 2c 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |s, this |function|
|000006b0| 20 69 73 0a 65 6d 75 6c | 61 74 65 64 20 75 73 69 | is.emul|ated usi|
|000006c0| 6e 67 20 5c 63 6f 64 65 | 7b 66 63 6e 74 6c 7d 2e |ng \code|{fcntl}.|
|000006d0| 29 0a 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |).\end{f|uncdesc}|
|000006e0| 22 3e 0a 3c 42 52 3e 0a | 0a 3c 50 3e 0a 3c 42 52 |">.<BR>.|.<P>.<BR|
|000006f0| 3e 0a 3c 49 4d 47 0a 20 | 20 53 54 59 4c 45 3d 22 |>.<IMG. | STYLE="|
|00000700| 68 65 69 67 68 74 3a 20 | 32 2e 33 38 65 78 3b 20 |height: |2.38ex; |
|00000710| 76 65 72 74 69 63 61 6c | 2d 61 6c 69 67 6e 3a 20 |vertical|-align: |
|00000720| 31 37 36 2e 32 37 65 78 | 3b 20 22 20 53 52 43 3d |176.27ex|; " SRC=|
|00000730| 22 69 6d 67 34 2e 70 6e | 67 22 0a 20 41 4c 54 3d |"img4.pn|g". ALT=|
|00000740| 22 5c 62 65 67 69 6e 7b | 66 75 6e 63 64 65 73 63 |"\begin{|funcdesc|
|00000750| 7d 7b 6c 6f 63 6b 66 7d | 7b 66 64 5c 2c 20 63 6f |}{lockf}|{fd\, co|
|00000760| 64 65 5c 2c 20 5c 6f 70 | 74 69 6f 6e 61 6c 7b 6c |de\, \op|tional{l|
|00000770| 65 6e 5c 2c 20 5c 6f 70 | 74 69 6f 6e 61 6c 7b 73 |en\, \op|tional{s|
|00000780| 74 61 72 74 5c 2c 20 5c | 6f 70 74 69 6f 6e 61 6c |tart\, \|optional|
|00000790| 7b 2e 2e 2e 0a 2e 2e 2e | 7b 46 5f 53 45 54 4c 4b |{.......|{F_SETLK|
|000007a0| 57 7d 0a 5c 63 6f 64 65 | 7b 66 63 6e 74 6c 28 29 |W}.\code|{fcntl()|
|000007b0| 7d 20 63 61 6c 6c 73 2e | 20 53 65 65 20 74 68 65 |} calls.| See the|
|000007c0| 20 55 6e 69 78 20 6d 61 | 6e 75 61 6c 20 66 6f 72 | Unix ma|nual for|
|000007d0| 20 64 65 74 61 69 6c 73 | 2e 0a 5c 65 6e 64 7b 66 | details|..\end{f|
|000007e0| 75 6e 63 64 65 73 63 7d | 22 3e 0a 3c 42 52 3e 0a |uncdesc}|">.<BR>.|
|000007f0| 0a 3c 50 3e 0a 49 66 20 | 74 68 65 20 6c 69 62 72 |.<P>.If |the libr|
|00000800| 61 72 79 20 6d 6f 64 75 | 6c 65 73 20 46 43 4e 54 |ary modu|les FCNT|
|00000810| 4c 20 6f 72 20 49 4f 43 | 54 4c 20 61 72 65 20 6d |L or IOC|TL are m|
|00000820| 69 73 73 69 6e 67 2c 20 | 79 6f 75 0a 63 61 6e 20 |issing, |you.can |
|00000830| 66 69 6e 64 20 74 68 65 | 20 6f 70 63 6f 64 65 73 |find the| opcodes|
|00000840| 20 69 6e 20 74 68 65 20 | 43 20 69 6e 63 6c 75 64 | in the |C includ|
|00000850| 65 20 66 69 6c 65 73 20 | 73 79 73 2f 66 63 6e 74 |e files |sys/fcnt|
|00000860| 6c 20 61 6e 64 0a 73 79 | 73 2f 69 6f 63 74 6c 2e |l and.sy|s/ioctl.|
|00000870| 20 59 6f 75 20 63 61 6e | 20 63 72 65 61 74 65 20 | You can| create |
|00000880| 74 68 65 20 6d 6f 64 75 | 6c 65 73 20 79 6f 75 72 |the modu|les your|
|00000890| 73 65 6c 66 20 77 69 74 | 68 20 74 68 65 20 68 32 |self wit|h the h2|
|000008a0| 70 79 0a 73 63 72 69 70 | 74 2c 20 66 6f 75 6e 64 |py.scrip|t, found|
|000008b0| 20 69 6e 20 74 68 65 20 | 54 6f 6f 6c 73 2f 73 63 | in the |Tools/sc|
|000008c0| 72 69 70 74 73 20 64 69 | 72 65 63 74 6f 72 79 2e |ripts di|rectory.|
|000008d0| 0a 46 43 4e 54 4c 0a 49 | 4f 43 54 4c 0a 0a 3c 50 |.FCNTL.I|OCTL..<P|
|000008e0| 3e 0a 45 78 61 6d 70 6c | 65 73 20 28 61 6c 6c 20 |>.Exampl|es (all |
|000008f0| 6f 6e 20 61 20 53 56 52 | 34 20 63 6f 6d 70 6c 69 |on a SVR|4 compli|
|00000900| 61 6e 74 20 73 79 73 74 | 65 6d 29 3a 0a 0a 3c 50 |ant syst|em):..<P|
|00000910| 3e 0a 3c 50 52 45 3e 0a | 69 6d 70 6f 72 74 20 73 |>.<PRE>.|import s|
|00000920| 74 72 75 63 74 2c 20 46 | 43 4e 54 4c 0a 0a 66 69 |truct, F|CNTL..fi|
|00000930| 6c 65 20 3d 20 6f 70 65 | 6e 28 2e 2e 2e 29 0a 72 |le = ope|n(...).r|
|00000940| 76 20 3d 20 66 63 6e 74 | 6c 28 66 69 6c 65 2e 66 |v = fcnt|l(file.f|
|00000950| 69 6c 65 6e 6f 28 29 2c | 20 46 43 4e 54 4c 2e 4f |ileno(),| FCNTL.O|
|00000960| 5f 4e 44 45 4c 41 59 2c | 20 31 29 0a 0a 6c 6f 63 |_NDELAY,| 1)..loc|
|00000970| 6b 64 61 74 61 20 3d 20 | 73 74 72 75 63 74 2e 70 |kdata = |struct.p|
|00000980| 61 63 6b 28 27 68 68 6c | 6c 68 68 27 2c 20 46 43 |ack('hhl|lhh', FC|
|00000990| 4e 54 4c 2e 46 5f 57 52 | 4c 43 4b 2c 20 30 2c 20 |NTL.F_WR|LCK, 0, |
|000009a0| 30 2c 20 30 2c 20 30 2c | 20 30 29 0a 72 76 20 3d |0, 0, 0,| 0).rv =|
|000009b0| 20 66 63 6e 74 6c 28 66 | 69 6c 65 2e 66 69 6c 65 | fcntl(f|ile.file|
|000009c0| 6e 6f 28 29 2c 20 46 43 | 4e 54 4c 2e 46 5f 53 45 |no(), FC|NTL.F_SE|
|000009d0| 54 4c 4b 57 2c 20 6c 6f | 63 6b 64 61 74 61 29 0a |TLKW, lo|ckdata).|
|000009e0| 3c 2f 50 52 45 3e 0a 0a | 3c 50 3e 0a 4e 6f 74 65 |</PRE>..|<P>.Note|
|000009f0| 20 74 68 61 74 20 69 6e | 20 74 68 65 20 66 69 72 | that in| the fir|
|00000a00| 73 74 20 65 78 61 6d 70 | 6c 65 20 74 68 65 20 72 |st examp|le the r|
|00000a10| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 76 61 72 69 |eturn va|lue vari|
|00000a20| 61 62 6c 65 20 72 76 20 | 77 69 6c 6c 0a 68 6f 6c |able rv |will.hol|
|00000a30| 64 20 61 6e 20 69 6e 74 | 65 67 65 72 20 76 61 6c |d an int|eger val|
|00000a40| 75 65 3b 20 69 6e 20 74 | 68 65 20 73 65 63 6f 6e |ue; in t|he secon|
|00000a50| 64 20 65 78 61 6d 70 6c | 65 20 69 74 20 77 69 6c |d exampl|e it wil|
|00000a60| 6c 20 68 6f 6c 64 20 61 | 20 73 74 72 69 6e 67 0a |l hold a| string.|
|00000a70| 76 61 6c 75 65 2e 20 20 | 54 68 65 20 73 74 72 75 |value. |The stru|
|00000a80| 63 74 75 72 65 20 6c 61 | 79 2d 6f 75 74 20 66 6f |cture la|y-out fo|
|00000a90| 72 20 74 68 65 20 6c 6f | 63 6b 61 64 61 74 61 20 |r the lo|ckadata |
|00000aa0| 76 61 72 69 61 62 6c 65 | 20 69 73 0a 73 79 73 74 |variable| is.syst|
|00000ab0| 65 6d 20 64 65 70 65 6e | 64 65 6e 74 20 26 6e 64 |em depen|dent &nd|
|00000ac0| 61 73 68 3b 20 74 68 65 | 72 65 66 6f 72 65 20 75 |ash; the|refore u|
|00000ad0| 73 69 6e 67 20 74 68 65 | 20 66 6c 6f 63 6b 28 29 |sing the| flock()|
|00000ae0| 20 63 61 6c 6c 20 6d 61 | 79 20 62 65 0a 62 65 74 | call ma|y be.bet|
|00000af0| 74 65 72 2e 0a 0a 3c 48 | 52 3e 0a 0a 3c 2f 42 4f |ter...<H|R>..</BO|
|00000b00| 44 59 3e 0a 3c 2f 48 54 | 4d 4c 3e 0a |DY>.</HT|ML>. |
+--------+-------------------------+-------------------------+--------+--------+