home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
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
| Python script text executable
| default (weak)
| |
98%
| file
| LaTeX document text
| default
| |
97%
| file
| exported SGML document text
| default
| |
96%
| 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 53 74 | 61 6e 64 61 72 64 20 4d |ts of St|andard M|
|000000b0| 6f 64 75 6c 65 20 70 6f | 73 69 78 66 69 6c 65 3c |odule po|sixfile<|
|000000c0| 2f 54 49 54 4c 45 3e 0a | 0a 3c 4d 45 54 41 20 48 |/TITLE>.|.<META H|
|000000d0| 54 54 50 2d 45 51 55 49 | 56 3d 22 43 6f 6e 74 65 |TTP-EQUI|V="Conte|
|000000e0| 6e 74 2d 54 79 70 65 22 | 20 43 4f 4e 54 45 4e 54 |nt-Type"| CONTENT|
|000000f0| 3d 22 74 65 78 74 2f 68 | 74 6d 6c 3b 20 63 68 61 |="text/h|tml; cha|
|00000100| 72 73 65 74 3d 75 74 66 | 2d 38 22 3e 0a 3c 4d 45 |rset=utf|-8">.<ME|
|00000110| 54 41 20 4e 41 4d 45 3d | 22 76 69 65 77 70 6f 72 |TA NAME=|"viewpor|
|00000120| 74 22 20 43 4f 4e 54 45 | 4e 54 3d 22 77 69 64 74 |t" CONTE|NT="widt|
|00000130| 68 3d 64 65 76 69 63 65 | 2d 77 69 64 74 68 2c 20 |h=device|-width, |
|00000140| 69 6e 69 74 69 61 6c 2d | 73 63 61 6c 65 3d 31 2e |initial-|scale=1.|
|00000150| 30 22 3e 0a 3c 4d 45 54 | 41 20 4e 41 4d 45 3d 22 |0">.<MET|A NAME="|
|00000160| 47 65 6e 65 72 61 74 6f | 72 22 20 43 4f 4e 54 45 |Generato|r" CONTE|
|00000170| 4e 54 3d 22 4c 61 54 65 | 58 32 48 54 4d 4c 20 76 |NT="LaTe|X2HTML v|
|00000180| 32 30 32 32 22 3e 0a 0a | 3c 4c 49 4e 4b 20 52 45 |2022">..|<LINK RE|
|00000190| 4c 3d 22 53 54 59 4c 45 | 53 48 45 45 54 22 20 48 |L="STYLE|SHEET" H|
|000001a0| 52 45 46 3d 22 74 65 78 | 2e 63 73 73 22 3e 0a 0a |REF="tex|.css">..|
|000001b0| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 70 72 65 76 69 |<LINK RE|L="previ|
|000001c0| 6f 75 73 22 20 48 52 45 | 46 3d 22 74 65 78 5f 6d |ous" HRE|F="tex_m|
|000001d0| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|000001e0| 45 4c 3d 22 75 70 22 20 | 48 52 45 46 3d 22 74 65 |EL="up" |HREF="te|
|000001f0| 78 5f 6d 6e 2e 68 74 6d | 6c 22 3e 0a 3c 2f 48 45 |x_mn.htm|l">.</HE|
|00000200| 41 44 3e 0a 20 0a 3c 42 | 4f 44 59 20 62 67 63 6f |AD>. .<B|ODY bgco|
|00000210| 6c 6f 72 3d 22 23 66 66 | 66 66 66 66 22 20 74 65 |lor="#ff|ffff" te|
|00000220| 78 74 3d 22 23 30 30 30 | 30 30 30 22 20 6c 69 6e |xt="#000|000" lin|
|00000230| 6b 3d 22 23 39 39 34 34 | 45 45 22 20 76 6c 69 6e |k="#9944|EE" vlin|
|00000240| 6b 3d 22 23 30 30 30 30 | 66 66 22 20 61 6c 69 6e |k="#0000|ff" alin|
|00000250| 6b 3d 22 23 30 30 66 66 | 30 30 22 3e 0a 0a 3c 48 |k="#00ff|00">..<H|
|00000260| 31 3e 3c 41 20 49 44 3d | 22 53 45 43 54 49 4f 4e |1><A ID=|"SECTION|
|00000270| 30 30 30 31 30 30 30 30 | 30 30 30 30 30 30 30 30 |00010000|00000000|
|00000280| 30 30 30 30 22 3e 0a 53 | 74 61 6e 64 61 72 64 20 |0000">.S|tandard |
|00000290| 4d 6f 64 75 6c 65 20 70 | 6f 73 69 78 66 69 6c 65 |Module p|osixfile|
|000002a0| 3c 2f 41 3e 0a 3c 2f 48 | 31 3e 0a 70 6f 73 69 78 |</A>.</H|1>.posix|
|000002b0| 66 69 6c 65 0a 70 6f 73 | 69 78 66 69 6c 65 20 6f |file.pos|ixfile o|
|000002c0| 62 6a 65 63 74 0a 0a 3c | 50 3e 0a 3c 49 3e 4e 6f |bject..<|P>.<I>No|
|000002d0| 74 65 3a 3c 2f 49 3e 20 | 54 68 69 73 20 6d 6f 64 |te:</I> |This mod|
|000002e0| 75 6c 65 20 77 69 6c 6c | 20 62 65 63 6f 6d 65 20 |ule will| become |
|000002f0| 6f 62 73 6f 6c 65 74 65 | 20 69 6e 20 61 20 66 75 |obsolete| in a fu|
|00000300| 74 75 72 65 20 72 65 6c | 65 61 73 65 2e 0a 54 68 |ture rel|ease..Th|
|00000310| 65 20 6c 6f 63 6b 69 6e | 67 20 6f 70 65 72 61 74 |e lockin|g operat|
|00000320| 69 6f 6e 20 74 68 61 74 | 20 69 74 20 70 72 6f 76 |ion that| it prov|
|00000330| 69 64 65 73 20 69 73 20 | 64 6f 6e 65 20 62 65 74 |ides is |done bet|
|00000340| 74 65 72 20 61 6e 64 20 | 6d 6f 72 65 0a 70 6f 72 |ter and |more.por|
|00000350| 74 61 62 6c 79 20 62 79 | 20 74 68 65 20 66 63 6e |tably by| the fcn|
|00000360| 74 6c 2e 6c 6f 63 6b 66 | 28 29 20 63 61 6c 6c 2e |tl.lockf|() call.|
|00000370| 0a 0a 3c 50 3e 0a 54 68 | 69 73 20 6d 6f 64 75 6c |..<P>.Th|is modul|
|00000380| 65 20 69 6d 70 6c 65 6d | 65 6e 74 73 20 73 6f 6d |e implem|ents som|
|00000390| 65 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 66 75 6e |e additi|onal fun|
|000003a0| 63 74 69 6f 6e 61 6c 69 | 74 79 20 6f 76 65 72 20 |ctionali|ty over |
|000003b0| 74 68 65 20 62 75 69 6c | 74 2d 69 6e 0a 66 69 6c |the buil|t-in.fil|
|000003c0| 65 20 6f 62 6a 65 63 74 | 73 2e 20 20 49 6e 20 70 |e object|s. In p|
|000003d0| 61 72 74 69 63 75 6c 61 | 72 2c 20 69 74 20 69 6d |articula|r, it im|
|000003e0| 70 6c 65 6d 65 6e 74 73 | 20 66 69 6c 65 20 6c 6f |plements| file lo|
|000003f0| 63 6b 69 6e 67 2c 20 63 | 6f 6e 74 72 6f 6c 20 6f |cking, c|ontrol o|
|00000400| 76 65 72 0a 74 68 65 20 | 66 69 6c 65 20 66 6c 61 |ver.the |file fla|
|00000410| 67 73 2c 20 61 6e 64 20 | 61 6e 20 65 61 73 79 20 |gs, and |an easy |
|00000420| 69 6e 74 65 72 66 61 63 | 65 20 74 6f 20 64 75 70 |interfac|e to dup|
|00000430| 6c 69 63 61 74 65 20 74 | 68 65 20 66 69 6c 65 20 |licate t|he file |
|00000440| 6f 62 6a 65 63 74 2e 0a | 54 68 65 20 6d 6f 64 75 |object..|The modu|
|00000450| 6c 65 20 64 65 66 69 6e | 65 73 20 61 20 6e 65 77 |le defin|es a new|
|00000460| 20 66 69 6c 65 20 6f 62 | 6a 65 63 74 2c 20 74 68 | file ob|ject, th|
|00000470| 65 20 70 6f 73 69 78 66 | 69 6c 65 20 6f 62 6a 65 |e posixf|ile obje|
|00000480| 63 74 2e 20 20 49 74 0a | 68 61 73 20 61 6c 6c 20 |ct. It.|has all |
|00000490| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 66 69 6c |the stan|dard fil|
|000004a0| 65 20 6f 62 6a 65 63 74 | 20 6d 65 74 68 6f 64 73 |e object| methods|
|000004b0| 20 61 6e 64 20 61 64 64 | 73 20 74 68 65 20 6d 65 | and add|s the me|
|000004c0| 74 68 6f 64 73 0a 64 65 | 73 63 72 69 62 65 64 20 |thods.de|scribed |
|000004d0| 62 65 6c 6f 77 2e 20 20 | 54 68 69 73 20 6d 6f 64 |below. |This mod|
|000004e0| 75 6c 65 20 6f 6e 6c 79 | 20 77 6f 72 6b 73 20 66 |ule only| works f|
|000004f0| 6f 72 20 63 65 72 74 61 | 69 6e 20 66 6c 61 76 6f |or certa|in flavo|
|00000500| 72 73 20 6f 66 0a 2c 20 | 73 69 6e 63 65 20 69 74 |rs of., |since it|
|00000510| 20 75 73 65 73 20 66 63 | 6e 74 6c 28 29 20 66 6f | uses fc|ntl() fo|
|00000520| 72 20 66 69 6c 65 20 6c | 6f 63 6b 69 6e 67 2e 0a |r file l|ocking..|
|00000530| 0a 3c 50 3e 0a 54 6f 20 | 69 6e 73 74 61 6e 74 69 |.<P>.To |instanti|
|00000540| 61 74 65 20 61 20 70 6f | 73 69 78 66 69 6c 65 20 |ate a po|sixfile |
|00000550| 6f 62 6a 65 63 74 2c 20 | 75 73 65 20 74 68 65 20 |object, |use the |
|00000560| 6f 70 65 6e 28 29 20 66 | 75 6e 63 74 69 6f 6e 20 |open() f|unction |
|00000570| 69 6e 0a 74 68 65 20 70 | 6f 73 69 78 66 69 6c 65 |in.the p|osixfile|
|00000580| 20 6d 6f 64 75 6c 65 2e | 20 20 54 68 65 20 72 65 | module.| The re|
|00000590| 73 75 6c 74 69 6e 67 20 | 6f 62 6a 65 63 74 20 6c |sulting |object l|
|000005a0| 6f 6f 6b 73 20 61 6e 64 | 20 66 65 65 6c 73 20 72 |ooks and| feels r|
|000005b0| 6f 75 67 68 6c 79 0a 74 | 68 65 20 73 61 6d 65 20 |oughly.t|he same |
|000005c0| 61 73 20 61 20 73 74 61 | 6e 64 61 72 64 20 66 69 |as a sta|ndard fi|
|000005d0| 6c 65 20 6f 62 6a 65 63 | 74 2e 0a 0a 3c 50 3e 0a |le objec|t...<P>.|
|000005e0| 54 68 65 20 70 6f 73 69 | 78 66 69 6c 65 20 6d 6f |The posi|xfile mo|
|000005f0| 64 75 6c 65 20 64 65 66 | 69 6e 65 73 20 74 68 65 |dule def|ines the|
|00000600| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 73 74 | followi|ng const|
|00000610| 61 6e 74 73 3a 0a 0a 3c | 50 3e 0a 0a 3c 42 52 3e |ants:..<|P>..<BR>|
|00000620| 0a 3c 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 68 |.<IMG. |STYLE="h|
|00000630| 65 69 67 68 74 3a 20 31 | 39 36 2e 32 35 65 78 3b |eight: 1|96.25ex;|
|00000640| 20 76 65 72 74 69 63 61 | 6c 2d 61 6c 69 67 6e 3a | vertica|l-align:|
|00000650| 20 2d 30 2e 35 37 65 78 | 3b 20 22 20 53 52 43 3d | -0.57ex|; " SRC=|
|00000660| 22 69 6d 67 31 2e 70 6e | 67 22 0a 20 41 4c 54 3d |"img1.pn|g". ALT=|
|00000670| 22 5c 62 65 67 69 6e 7b | 64 61 74 61 64 65 73 63 |"\begin{|datadesc|
|00000680| 7d 7b 53 45 45 4b 5f 53 | 45 54 7d 0a 6f 66 66 73 |}{SEEK_S|ET}.offs|
|00000690| 65 74 20 69 73 20 63 61 | 6c 63 75 6c 61 74 65 64 |et is ca|lculated|
|000006a0| 20 66 72 6f 6d 20 74 68 | 65 20 73 74 61 72 74 20 | from th|e start |
|000006b0| 6f 66 20 74 68 65 20 66 | 69 6c 65 0a 5c 65 6e 64 |of the f|ile.\end|
|000006c0| 7b 64 61 74 61 64 65 73 | 63 7d 22 3e 0a 3c 42 52 |{datades|c}">.<BR|
|000006d0| 3e 0a 0a 3c 50 3e 0a 3c | 42 52 3e 0a 3c 49 4d 47 |>..<P>.<|BR>.<IMG|
|000006e0| 0a 20 20 53 54 59 4c 45 | 3d 22 68 65 69 67 68 74 |. STYLE|="height|
|000006f0| 3a 20 32 2e 31 37 65 78 | 3b 20 76 65 72 74 69 63 |: 2.17ex|; vertic|
|00000700| 61 6c 2d 61 6c 69 67 6e | 3a 20 31 37 36 2e 36 38 |al-align|: 176.68|
|00000710| 65 78 3b 20 22 20 53 52 | 43 3d 22 69 6d 67 32 2e |ex; " SR|C="img2.|
|00000720| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|00000730| 6e 7b 64 61 74 61 64 65 | 73 63 7d 7b 53 45 45 4b |n{datade|sc}{SEEK|
|00000740| 5f 43 55 52 7d 0a 6f 66 | 66 73 65 74 20 69 73 20 |_CUR}.of|fset is |
|00000750| 63 61 6c 63 75 6c 61 74 | 65 64 20 66 72 6f 6d 20 |calculat|ed from |
|00000760| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 6f 73 69 |the curr|ent posi|
|00000770| 74 69 6f 6e 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |tion in |the file|
|00000780| 0a 5c 65 6e 64 7b 64 61 | 74 61 64 65 73 63 7d 22 |.\end{da|tadesc}"|
|00000790| 3e 0a 3c 42 52 3e 0a 0a | 3c 50 3e 0a 3c 42 52 3e |>.<BR>..|<P>.<BR>|
|000007a0| 0a 3c 49 4d 47 0a 20 20 | 53 54 59 4c 45 3d 22 68 |.<IMG. |STYLE="h|
|000007b0| 65 69 67 68 74 3a 20 32 | 2e 31 37 65 78 3b 20 76 |eight: 2|.17ex; v|
|000007c0| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 31 |ertical-|align: 1|
|000007d0| 37 36 2e 36 38 65 78 3b | 20 22 20 53 52 43 3d 22 |76.68ex;| " SRC="|
|000007e0| 69 6d 67 33 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img3.png|". ALT="|
|000007f0| 5c 62 65 67 69 6e 7b 64 | 61 74 61 64 65 73 63 7d |\begin{d|atadesc}|
|00000800| 7b 53 45 45 4b 5f 45 4e | 44 7d 0a 6f 66 66 73 65 |{SEEK_EN|D}.offse|
|00000810| 74 20 69 73 20 63 61 6c | 63 75 6c 61 74 65 64 20 |t is cal|culated |
|00000820| 66 72 6f 6d 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |from the| end of |
|00000830| 74 68 65 20 66 69 6c 65 | 0a 5c 65 6e 64 7b 64 61 |the file|.\end{da|
|00000840| 74 61 64 65 73 63 7d 22 | 3e 0a 3c 42 52 3e 0a 0a |tadesc}"|>.<BR>..|
|00000850| 3c 50 3e 0a 54 68 65 20 | 70 6f 73 69 78 66 69 6c |<P>.The |posixfil|
|00000860| 65 20 6d 6f 64 75 6c 65 | 20 64 65 66 69 6e 65 73 |e module| defines|
|00000870| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 66 | the fol|lowing f|
|00000880| 75 6e 63 74 69 6f 6e 73 | 3a 0a 0a 3c 50 3e 0a 0a |unctions|:..<P>..|
|00000890| 3c 50 3e 0a 3c 42 52 3e | 0a 3c 49 4d 47 0a 20 20 |<P>.<BR>|.<IMG. |
|000008a0| 53 54 59 4c 45 3d 22 68 | 65 69 67 68 74 3a 20 32 |STYLE="h|eight: 2|
|000008b0| 2e 31 37 65 78 3b 20 76 | 65 72 74 69 63 61 6c 2d |.17ex; v|ertical-|
|000008c0| 61 6c 69 67 6e 3a 20 31 | 37 36 2e 35 35 65 78 3b |align: 1|76.55ex;|
|000008d0| 20 22 20 53 52 43 3d 22 | 69 6d 67 34 2e 70 6e 67 | " SRC="|img4.png|
|000008e0| 22 0a 20 41 4c 54 3d 22 | 5c 62 65 67 69 6e 7b 66 |". ALT="|\begin{f|
|000008f0| 75 6e 63 64 65 73 63 7d | 7b 6f 70 65 6e 7d 7b 66 |uncdesc}|{open}{f|
|00000900| 69 6c 65 6e 61 6d 65 5c | 6f 70 74 69 6f 6e 61 6c |ilename\|optional|
|00000910| 7b 5c 2c 20 6d 6f 64 65 | 5c 6f 70 74 69 6f 6e 61 |{\, mode|\optiona|
|00000920| 6c 7b 5c 2c 20 62 75 66 | 73 69 7a 65 7d 7d 7d 0a |l{\, buf|size}}}.|
|00000930| 43 72 65 61 74 65 20 2e | 2e 2e 0a 2e 2e 2e 74 65 |Create .|......te|
|00000940| 72 70 72 65 74 65 64 20 | 74 68 65 20 73 61 6d 65 |rpreted |the same|
|00000950| 20 77 61 79 20 61 73 20 | 62 79 20 74 68 65 20 62 | way as |by the b|
|00000960| 75 69 6c 74 2d 69 6e 20 | 5c 63 6f 64 65 7b 6f 70 |uilt-in |\code{op|
|00000970| 65 6e 28 29 7d 20 66 75 | 6e 63 74 69 6f 6e 2e 0a |en()} fu|nction..|
|00000980| 5c 65 6e 64 7b 66 75 6e | 63 64 65 73 63 7d 22 3e |\end{fun|cdesc}">|
|00000990| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |.<BR>..<|P>.<BR>.|
|000009a0| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 68 65 |<IMG. S|TYLE="he|
|000009b0| 69 67 68 74 3a 20 32 2e | 31 37 65 78 3b 20 76 65 |ight: 2.|17ex; ve|
|000009c0| 72 74 69 63 61 6c 2d 61 | 6c 69 67 6e 3a 20 31 37 |rtical-a|lign: 17|
|000009d0| 36 2e 35 34 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |6.54ex; |" SRC="i|
|000009e0| 6d 67 35 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg5.png"|. ALT="\|
|000009f0| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000a00| 66 69 6c 65 6f 70 65 6e | 7d 7b 66 69 6c 65 6f 62 |fileopen|}{fileob|
|00000a10| 6a 65 63 74 7d 0a 43 72 | 65 61 74 65 20 61 20 6e |ject}.Cr|eate a n|
|00000a20| 65 77 20 70 6f 73 69 78 | 66 69 6c 65 20 6f 62 6a |ew posix|file obj|
|00000a30| 65 63 74 20 77 69 74 68 | 20 74 68 65 20 67 2e 2e |ect with| the g..|
|00000a40| 2e 0a 2e 2e 2e 6a 65 63 | 74 20 68 61 73 20 74 68 |.....jec|t has th|
|00000a50| 65 20 73 61 6d 65 20 66 | 69 6c 65 6e 61 6d 65 20 |e same f|ilename |
|00000a60| 61 6e 64 20 6d 6f 64 65 | 20 61 73 20 74 68 65 20 |and mode| as the |
|00000a70| 6f 72 69 67 69 6e 61 6c | 0a 66 69 6c 65 20 6f 62 |original|.file ob|
|00000a80| 6a 65 63 74 2e 0a 5c 65 | 6e 64 7b 66 75 6e 63 64 |ject..\e|nd{funcd|
|00000a90| 65 73 63 7d 22 3e 0a 3c | 42 52 3e 0a 0a 3c 50 3e |esc}">.<|BR>..<P>|
|00000aa0| 0a 54 68 65 20 70 6f 73 | 69 78 66 69 6c 65 20 6f |.The pos|ixfile o|
|00000ab0| 62 6a 65 63 74 20 64 65 | 66 69 6e 65 73 20 74 68 |bject de|fines th|
|00000ac0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 61 64 64 69 |e follow|ing addi|
|00000ad0| 74 69 6f 6e 61 6c 20 6d | 65 74 68 6f 64 73 3a 0a |tional m|ethods:.|
|00000ae0| 0a 3c 50 3e 0a 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |.<P>..<B|R>.<IMG.|
|00000af0| 20 20 53 54 59 4c 45 3d | 22 68 65 69 67 68 74 3a | STYLE=|"height:|
|00000b00| 20 32 2e 31 37 65 78 3b | 20 76 65 72 74 69 63 61 | 2.17ex;| vertica|
|00000b10| 6c 2d 61 6c 69 67 6e 3a | 20 31 37 36 2e 36 38 65 |l-align:| 176.68e|
|00000b20| 78 3b 20 22 20 53 52 43 | 3d 22 69 6d 67 36 2e 70 |x; " SRC|="img6.p|
|00000b30| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00000b40| 7b 66 75 6e 63 64 65 73 | 63 7d 7b 6c 6f 63 6b 7d |{funcdes|c}{lock}|
|00000b50| 7b 66 6d 74 5c 2c 20 5c | 6f 70 74 69 6f 6e 61 6c |{fmt\, \|optional|
|00000b60| 7b 6c 65 6e 5c 6f 70 74 | 69 6f 6e 61 6c 7b 5c 2c |{len\opt|ional{\,|
|00000b70| 20 73 74 61 72 74 0a 5c | 6f 70 74 69 6f 6e 61 6c | start.\|optional|
|00000b80| 7b 5c 2c 20 77 68 65 6e | 63 65 2e 2e 2e 0a 2e 2e |{\, when|ce......|
|00000b90| 2e 6f 75 74 20 74 68 65 | 20 61 72 67 75 6d 65 6e |.out the| argumen|
|00000ba0| 74 73 20 72 65 66 65 72 | 20 74 6f 20 74 68 65 20 |ts refer| to the |
|00000bb0| 66 63 6e 74 6c 0a 6d 61 | 6e 75 61 6c 20 70 61 67 |fcntl.ma|nual pag|
|00000bc0| 65 20 6f 6e 20 79 6f 75 | 72 20 73 79 73 74 65 6d |e on you|r system|
|00000bd0| 2e 0a 5c 65 6e 64 7b 66 | 75 6e 63 64 65 73 63 7d |..\end{f|uncdesc}|
|00000be0| 22 3e 0a 3c 42 52 3e 0a | 0a 3c 50 3e 0a 3c 42 52 |">.<BR>.|.<P>.<BR|
|00000bf0| 3e 0a 3c 49 4d 47 0a 20 | 20 53 54 59 4c 45 3d 22 |>.<IMG. | STYLE="|
|00000c00| 68 65 69 67 68 74 3a 20 | 32 2e 31 37 65 78 3b 20 |height: |2.17ex; |
|00000c10| 76 65 72 74 69 63 61 6c | 2d 61 6c 69 67 6e 3a 20 |vertical|-align: |
|00000c20| 31 37 36 2e 35 35 65 78 | 3b 20 22 20 53 52 43 3d |176.55ex|; " SRC=|
|00000c30| 22 69 6d 67 37 2e 70 6e | 67 22 0a 20 41 4c 54 3d |"img7.pn|g". ALT=|
|00000c40| 22 5c 62 65 67 69 6e 7b | 66 75 6e 63 64 65 73 63 |"\begin{|funcdesc|
|00000c50| 7d 7b 66 6c 61 67 73 7d | 7b 5c 6f 70 74 69 6f 6e |}{flags}|{\option|
|00000c60| 61 6c 7b 66 6c 61 67 73 | 7d 7d 0a 53 65 74 20 74 |al{flags|}}.Set t|
|00000c70| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 66 6c 61 |he speci|fied fla|
|00000c80| 67 73 20 66 6f 72 20 74 | 68 65 20 66 69 6c 65 20 |gs for t|he file |
|00000c90| 2e 2e 2e 0a 2e 2e 2e 6e | 20 61 62 6f 75 74 20 74 |.......n| about t|
|00000ca0| 68 65 20 66 6c 61 67 73 | 0a 72 65 66 65 72 20 74 |he flags|.refer t|
|00000cb0| 6f 20 74 68 65 20 66 63 | 6e 74 6c 20 6d 61 6e 75 |o the fc|ntl manu|
|00000cc0| 61 6c 20 70 61 67 65 20 | 6f 6e 20 79 6f 75 72 20 |al page |on your |
|00000cd0| 73 79 73 74 65 6d 2e 0a | 5c 65 6e 64 7b 66 75 6e |system..|\end{fun|
|00000ce0| 63 64 65 73 63 7d 22 3e | 0a 3c 42 52 3e 0a 0a 3c |cdesc}">|.<BR>..<|
|00000cf0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|00000d00| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|00000d10| 31 37 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |17ex; ve|rtical-a|
|00000d20| 6c 69 67 6e 3a 20 31 37 | 36 2e 35 34 65 78 3b 20 |lign: 17|6.54ex; |
|00000d30| 22 20 53 52 43 3d 22 69 | 6d 67 38 2e 70 6e 67 22 |" SRC="i|mg8.png"|
|00000d40| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 66 75 |. ALT="\|begin{fu|
|00000d50| 6e 63 64 65 73 63 7d 7b | 64 75 70 7d 7b 7d 0a 44 |ncdesc}{|dup}{}.D|
|00000d60| 75 70 6c 69 63 61 74 65 | 20 74 68 65 20 66 69 6c |uplicate| the fil|
|00000d70| 65 20 6f 62 6a 65 63 74 | 20 61 6e 64 20 74 68 65 |e object| and the|
|00000d80| 20 75 6e 64 65 72 6c 79 | 69 6e 67 20 66 69 6c 65 | underly|ing file|
|00000d90| 20 70 6f 69 6e 74 2e 2e | 2e 0a 2e 2e 2e 72 69 70 | point..|.....rip|
|00000da0| 74 6f 72 2e 20 54 68 65 | 20 72 65 73 75 6c 74 69 |tor. The| resulti|
|00000db0| 6e 67 20 6f 62 6a 65 63 | 74 20 62 65 68 61 76 65 |ng objec|t behave|
|00000dc0| 73 20 61 73 20 69 66 20 | 69 74 20 77 65 72 65 20 |s as if |it were |
|00000dd0| 6e 65 77 6c 79 0a 6f 70 | 65 6e 65 64 2e 0a 5c 65 |newly.op|ened..\e|
|00000de0| 6e 64 7b 66 75 6e 63 64 | 65 73 63 7d 22 3e 0a 3c |nd{funcd|esc}">.<|
|00000df0| 42 52 3e 0a 0a 3c 50 3e | 0a 3c 42 52 3e 0a 3c 49 |BR>..<P>|.<BR>.<I|
|00000e00| 4d 47 0a 20 20 53 54 59 | 4c 45 3d 22 68 65 69 67 |MG. STY|LE="heig|
|00000e10| 68 74 3a 20 32 2e 31 37 | 65 78 3b 20 76 65 72 74 |ht: 2.17|ex; vert|
|00000e20| 69 63 61 6c 2d 61 6c 69 | 67 6e 3a 20 31 37 36 2e |ical-ali|gn: 176.|
|00000e30| 36 38 65 78 3b 20 22 20 | 53 52 43 3d 22 69 6d 67 |68ex; " |SRC="img|
|00000e40| 39 2e 70 6e 67 22 0a 20 | 41 4c 54 3d 22 5c 62 65 |9.png". |ALT="\be|
|00000e50| 67 69 6e 7b 66 75 6e 63 | 64 65 73 63 7d 7b 64 75 |gin{func|desc}{du|
|00000e60| 70 32 7d 7b 66 64 7d 0a | 44 75 70 6c 69 63 61 74 |p2}{fd}.|Duplicat|
|00000e70| 65 20 74 68 65 20 66 69 | 6c 65 20 6f 62 6a 65 63 |e the fi|le objec|
|00000e80| 74 20 61 6e 64 20 74 68 | 65 20 75 6e 64 65 72 6c |t and th|e underl|
|00000e90| 79 69 6e 67 20 66 69 6c | 65 20 70 6f 2e 2e 2e 0a |ying fil|e po....|
|00000ea0| 2e 2e 2e 74 68 65 72 77 | 69 73 65 20 74 68 65 20 |...therw|ise the |
|00000eb0| 72 65 73 75 6c 74 69 6e | 67 20 6f 62 6a 65 63 74 |resultin|g object|
|00000ec0| 20 62 65 68 61 76 65 73 | 20 61 73 20 69 66 20 69 | behaves| as if i|
|00000ed0| 74 20 77 65 72 65 20 6e | 65 77 6c 79 20 6f 70 65 |t were n|ewly ope|
|00000ee0| 6e 65 64 2e 0a 5c 65 6e | 64 7b 66 75 6e 63 64 65 |ned..\en|d{funcde|
|00000ef0| 73 63 7d 22 3e 0a 3c 42 | 52 3e 0a 0a 3c 50 3e 0a |sc}">.<B|R>..<P>.|
|00000f00| 3c 42 52 3e 0a 3c 49 4d | 47 0a 20 20 53 54 59 4c |<BR>.<IM|G. STYL|
|00000f10| 45 3d 22 68 65 69 67 68 | 74 3a 20 32 2e 31 37 65 |E="heigh|t: 2.17e|
|00000f20| 78 3b 20 76 65 72 74 69 | 63 61 6c 2d 61 6c 69 67 |x; verti|cal-alig|
|00000f30| 6e 3a 20 31 37 36 2e 36 | 38 65 78 3b 20 22 20 53 |n: 176.6|8ex; " S|
|00000f40| 52 43 3d 22 69 6d 67 31 | 30 2e 70 6e 67 22 0a 20 |RC="img1|0.png". |
|00000f50| 41 4c 54 3d 22 5c 62 65 | 67 69 6e 7b 66 75 6e 63 |ALT="\be|gin{func|
|00000f60| 64 65 73 63 7d 7b 66 69 | 6c 65 7d 7b 7d 0a 52 65 |desc}{fi|le}{}.Re|
|00000f70| 74 75 72 6e 20 74 68 65 | 20 73 74 61 6e 64 61 72 |turn the| standar|
|00000f80| 64 20 66 69 6c 65 20 6f | 62 6a 65 63 74 20 74 68 |d file o|bject th|
|00000f90| 61 74 20 74 68 65 20 70 | 6f 73 69 78 66 69 6c 65 |at the p|osixfile|
|00000fa0| 20 6f 62 6a 2e 2e 2e 0a | 2e 2e 2e 73 20 6e 65 63 | obj....|...s nec|
|00000fb0| 65 73 73 61 72 79 20 66 | 6f 72 20 66 75 6e 63 74 |essary f|or funct|
|00000fc0| 69 6f 6e 73 20 74 68 61 | 74 20 69 6e 73 69 73 74 |ions tha|t insist|
|00000fd0| 20 6f 6e 20 61 0a 73 74 | 61 6e 64 61 72 64 20 66 | on a.st|andard f|
|00000fe0| 69 6c 65 20 6f 62 6a 65 | 63 74 2e 0a 5c 65 6e 64 |ile obje|ct..\end|
|00000ff0| 7b 66 75 6e 63 64 65 73 | 63 7d 22 3e 0a 3c 42 52 |{funcdes|c}">.<BR|
|00001000| 3e 0a 0a 3c 50 3e 0a 41 | 6c 6c 20 6d 65 74 68 6f |>..<P>.A|ll metho|
|00001010| 64 73 20 72 65 74 75 72 | 6e 20 49 4f 45 72 72 6f |ds retur|n IOErro|
|00001020| 72 20 77 68 65 6e 20 74 | 68 65 20 72 65 71 75 65 |r when t|he reque|
|00001030| 73 74 20 66 61 69 6c 73 | 2e 0a 0a 3c 50 3e 0a 46 |st fails|...<P>.F|
|00001040| 6f 72 6d 61 74 20 63 68 | 61 72 61 63 74 65 72 73 |ormat ch|aracters|
|00001050| 20 66 6f 72 20 74 68 65 | 20 6c 6f 63 6b 28 29 20 | for the| lock() |
|00001060| 6d 65 74 68 6f 64 20 68 | 61 76 65 20 74 68 65 20 |method h|ave the |
|00001070| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 65 61 6e 69 6e |followin|g meanin|
|00001080| 67 3a 0a 0a 3c 50 3e 0a | 3c 42 52 3e 0a 3c 49 4d |g:..<P>.|<BR>.<IM|
|00001090| 47 0a 20 53 54 59 4c 45 | 3d 22 68 65 69 67 68 74 |G. STYLE|="height|
|000010a0| 3a 20 33 31 34 2e 30 30 | 65 78 3b 20 22 20 53 52 |: 314.00|ex; " SR|
|000010b0| 43 3d 22 69 6d 67 31 31 | 2e 70 6e 67 22 0a 20 41 |C="img11|.png". A|
|000010c0| 4c 54 3d 22 5c 62 65 67 | 69 6e 7b 74 61 62 6c 65 |LT="\beg|in{table|
|000010d0| 69 69 69 7d 7b 5c 76 65 | 72 74 20 63 5c 76 65 72 |iii}{\ve|rt c\ver|
|000010e0| 74 20 6c 5c 76 65 72 74 | 20 63 5c 76 65 72 74 7d |t l\vert| c\vert}|
|000010f0| 7b 73 61 6d 70 7d 7b 46 | 6f 72 6d 61 74 7d 7b 4d |{samp}{F|ormat}{M|
|00001100| 65 61 6e 69 6e 67 7d 7b | 7d 0a 5c 6c 69 6e 65 69 |eaning}{|}.\linei|
|00001110| 69 69 7b 2e 2e 2e 0a 2e | 2e 2e 7b 7d 0a 5c 6c 69 |ii{.....|..{}.\li|
|00001120| 6e 65 69 69 69 7b 77 7d | 7b 72 65 71 75 65 73 74 |neiii{w}|{request|
|00001130| 20 61 20 77 72 69 74 65 | 20 6c 6f 63 6b 20 66 6f | a write| lock fo|
|00001140| 72 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |r the sp|ecified |
|00001150| 73 65 63 74 69 6f 6e 7d | 7b 7d 0a 5c 65 6e 64 7b |section}|{}.\end{|
|00001160| 74 61 62 6c 65 69 69 69 | 7d 22 3e 0a 3c 42 52 3e |tableiii|}">.<BR>|
|00001170| 0a 0a 3c 50 3e 0a 49 6e | 20 61 64 64 69 74 69 6f |..<P>.In| additio|
|00001180| 6e 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |n the fo|llowing |
|00001190| 6d 6f 64 69 66 69 65 72 | 73 20 63 61 6e 20 62 65 |modifier|s can be|
|000011a0| 20 61 64 64 65 64 20 74 | 6f 20 74 68 65 20 66 6f | added t|o the fo|
|000011b0| 72 6d 61 74 3a 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |rmat:..<|P>.<BR>.|
|000011c0| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 68 65 69 |<IMG. ST|YLE="hei|
|000011d0| 67 68 74 3a 20 33 31 34 | 2e 30 30 65 78 3b 20 22 |ght: 314|.00ex; "|
|000011e0| 20 53 52 43 3d 22 69 6d | 67 31 32 2e 70 6e 67 22 | SRC="im|g12.png"|
|000011f0| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 74 61 |. ALT="\|begin{ta|
|00001200| 62 6c 65 69 69 69 7d 7b | 5c 76 65 72 74 20 63 5c |bleiii}{|\vert c\|
|00001210| 76 65 72 74 20 6c 5c 76 | 65 72 74 20 63 5c 76 65 |vert l\v|ert c\ve|
|00001220| 72 74 7d 7b 73 61 6d 70 | 7d 7b 4d 6f 64 69 66 69 |rt}{samp|}{Modifi|
|00001230| 65 72 7d 7b 4d 65 61 6e | 69 6e 67 7d 7b 4e 6f 74 |er}{Mean|ing}{Not|
|00001240| 65 73 7d 0a 5c 6c 2e 2e | 2e 0a 2e 2e 2e 65 20 72 |es}.\l..|.....e r|
|00001250| 65 71 75 65 73 74 65 64 | 20 6c 6f 63 6b 2c 20 6f |equested| lock, o|
|00001260| 72 0a 5c 63 6f 64 65 7b | 4e 6f 6e 65 7d 20 69 66 |r.\code{|None} if|
|00001270| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 63 6f 6e | there i|s no con|
|00001280| 66 6c 69 63 74 2e 7d 7b | 28 31 29 7d 0a 5c 65 6e |flict.}{|(1)}.\en|
|00001290| 64 7b 74 61 62 6c 65 69 | 69 69 7d 22 3e 0a 3c 42 |d{tablei|ii}">.<B|
|000012a0| 52 3e 0a 0a 3c 50 3e 0a | 4e 6f 74 65 3a 0a 0a 3c |R>..<P>.|Note:..<|
|000012b0| 50 3e 0a 28 31 29 20 54 | 68 65 20 6c 6f 63 6b 20 |P>.(1) T|he lock |
|000012c0| 72 65 74 75 72 6e 65 64 | 20 69 73 20 69 6e 20 74 |returned| is in t|
|000012d0| 68 65 20 66 6f 72 6d 61 | 74 20 28 6d 6f 64 65 2c |he forma|t (mode,|
|000012e0| 20 6c 65 6e 2c 20 73 74 | 61 72 74 2c 0a 77 68 65 | len, st|art,.whe|
|000012f0| 6e 63 65 2c 20 70 69 64 | 29 20 77 68 65 72 65 20 |nce, pid|) where |
|00001300| 6d 6f 64 65 20 69 73 20 | 61 20 63 68 61 72 61 63 |mode is |a charac|
|00001310| 74 65 72 20 72 65 70 72 | 65 73 65 6e 74 69 6e 67 |ter repr|esenting|
|00001320| 20 74 68 65 20 74 79 70 | 65 20 6f 66 20 6c 6f 63 | the typ|e of loc|
|00001330| 6b 0a 28 27 72 27 20 6f | 72 20 27 77 27 29 2e 20 |k.('r' o|r 'w'). |
|00001340| 20 54 68 69 73 20 6d 6f | 64 69 66 69 65 72 20 70 | This mo|difier p|
|00001350| 72 65 76 65 6e 74 73 20 | 61 20 72 65 71 75 65 73 |revents |a reques|
|00001360| 74 20 66 72 6f 6d 20 62 | 65 69 6e 67 20 67 72 61 |t from b|eing gra|
|00001370| 6e 74 65 64 3b 20 69 74 | 0a 69 73 20 66 6f 72 20 |nted; it|.is for |
|00001380| 71 75 65 72 79 20 70 75 | 72 70 6f 73 65 73 20 6f |query pu|rposes o|
|00001390| 6e 6c 79 2e 0a 0a 3c 50 | 3e 0a 46 6f 72 6d 61 74 |nly...<P|>.Format|
|000013a0| 20 63 68 61 72 61 63 74 | 65 72 20 66 6f 72 20 74 | charact|er for t|
|000013b0| 68 65 20 66 6c 61 67 73 | 28 29 20 6d 65 74 68 6f |he flags|() metho|
|000013c0| 64 20 68 61 76 65 20 74 | 68 65 20 66 6f 6c 6c 6f |d have t|he follo|
|000013d0| 77 69 6e 67 20 6d 65 61 | 6e 69 6e 67 3a 0a 0a 3c |wing mea|ning:..<|
|000013e0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 53 54 |P>.<BR>.|<IMG. ST|
|000013f0| 59 4c 45 3d 22 68 65 69 | 67 68 74 3a 20 33 31 34 |YLE="hei|ght: 314|
|00001400| 2e 30 30 65 78 3b 20 22 | 20 53 52 43 3d 22 69 6d |.00ex; "| SRC="im|
|00001410| 67 31 33 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |g13.png"|. ALT="\|
|00001420| 62 65 67 69 6e 7b 74 61 | 62 6c 65 69 69 69 7d 7b |begin{ta|bleiii}{|
|00001430| 5c 76 65 72 74 20 63 5c | 76 65 72 74 20 6c 5c 76 |\vert c\|vert l\v|
|00001440| 65 72 74 20 63 5c 76 65 | 72 74 7d 7b 73 61 6d 70 |ert c\ve|rt}{samp|
|00001450| 7d 7b 46 6f 72 6d 61 74 | 7d 7b 4d 65 61 6e 69 6e |}{Format|}{Meanin|
|00001460| 67 7d 7b 7d 0a 5c 6c 69 | 6e 65 69 69 69 7b 2e 2e |g}{}.\li|neiii{..|
|00001470| 2e 0a 2e 2e 2e 63 61 6c | 6c 65 64 20 6e 6f 6e 2d |.....cal|led non-|
|00001480| 62 6c 6f 63 6b 69 6e 67 | 20 66 6c 61 67 29 7d 7b |blocking| flag)}{|
|00001490| 7d 0a 5c 6c 69 6e 65 69 | 69 69 7b 73 7d 7b 73 79 |}.\linei|ii{s}{sy|
|000014a0| 6e 63 68 72 6f 6e 69 7a | 61 74 69 6f 6e 20 66 6c |nchroniz|ation fl|
|000014b0| 61 67 7d 7b 7d 0a 5c 65 | 6e 64 7b 74 61 62 6c 65 |ag}{}.\e|nd{table|
|000014c0| 69 69 69 7d 22 3e 0a 3c | 42 52 3e 0a 0a 3c 50 3e |iii}">.<|BR>..<P>|
|000014d0| 0a 49 6e 20 61 64 64 69 | 74 69 6f 6e 20 74 68 65 |.In addi|tion the|
|000014e0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6d 6f 64 69 66 | followi|ng modif|
|000014f0| 69 65 72 73 20 63 61 6e | 20 62 65 20 61 64 64 65 |iers can| be adde|
|00001500| 64 20 74 6f 20 74 68 65 | 20 66 6f 72 6d 61 74 3a |d to the| format:|
|00001510| 0a 0a 3c 50 3e 0a 3c 42 | 52 3e 0a 3c 49 4d 47 0a |..<P>.<B|R>.<IMG.|
|00001520| 20 53 54 59 4c 45 3d 22 | 68 65 69 67 68 74 3a 20 | STYLE="|height: |
|00001530| 33 31 34 2e 30 30 65 78 | 3b 20 22 20 53 52 43 3d |314.00ex|; " SRC=|
|00001540| 22 69 6d 67 31 34 2e 70 | 6e 67 22 0a 20 41 4c 54 |"img14.p|ng". ALT|
|00001550| 3d 22 5c 62 65 67 69 6e | 7b 74 61 62 6c 65 69 69 |="\begin|{tableii|
|00001560| 69 7d 7b 5c 76 65 72 74 | 20 63 5c 76 65 72 74 20 |i}{\vert| c\vert |
|00001570| 6c 5c 76 65 72 74 20 63 | 5c 76 65 72 74 7d 7b 73 |l\vert c|\vert}{s|
|00001580| 61 6d 70 7d 7b 4d 6f 64 | 69 66 69 65 72 7d 7b 4d |amp}{Mod|ifier}{M|
|00001590| 65 61 6e 69 6e 67 7d 7b | 4e 6f 74 65 73 7d 0a 5c |eaning}{|Notes}.\|
|000015a0| 6c 2e 2e 2e 0a 2e 2e 2e | 20 69 6e 20 77 68 69 63 |l.......| in whic|
|000015b0| 68 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |h the ch|aracters|
|000015c0| 20 72 65 70 72 65 73 65 | 6e 74 20 74 68 65 20 66 | represe|nt the f|
|000015d0| 6c 61 67 73 20 74 68 61 | 74 0a 61 72 65 20 73 65 |lags tha|t.are se|
|000015e0| 74 2e 7d 7b 28 32 29 7d | 0a 5c 65 6e 64 7b 74 61 |t.}{(2)}|.\end{ta|
|000015f0| 62 6c 65 69 69 69 7d 22 | 3e 0a 3c 42 52 3e 0a 0a |bleiii}"|>.<BR>..|
|00001600| 3c 50 3e 0a 4e 6f 74 65 | 3a 0a 0a 3c 50 3e 0a 28 |<P>.Note|:..<P>.(|
|00001610| 31 29 20 54 68 65 20 21 | 20 61 6e 64 20 3d 20 6d |1) The !| and = m|
|00001620| 6f 64 69 66 69 65 72 73 | 20 61 72 65 20 6d 75 74 |odifiers| are mut|
|00001630| 75 61 6c 6c 79 20 65 78 | 63 6c 75 73 69 76 65 2e |ually ex|clusive.|
|00001640| 0a 0a 3c 50 3e 0a 28 32 | 29 20 54 68 69 73 20 73 |..<P>.(2|) This s|
|00001650| 74 72 69 6e 67 20 72 65 | 70 72 65 73 65 6e 74 73 |tring re|presents|
|00001660| 20 74 68 65 20 66 6c 61 | 67 73 20 61 66 74 65 72 | the fla|gs after|
|00001670| 20 74 68 65 79 20 6d 61 | 79 20 68 61 76 65 20 62 | they ma|y have b|
|00001680| 65 65 6e 20 61 6c 74 65 | 72 65 64 0a 62 79 20 74 |een alte|red.by t|
|00001690| 68 65 20 73 61 6d 65 20 | 63 61 6c 6c 2e 0a 0a 3c |he same |call...<|
|000016a0| 50 3e 0a 45 78 61 6d 70 | 6c 65 73 3a 0a 0a 3c 50 |P>.Examp|les:..<P|
|000016b0| 3e 0a 3c 50 52 45 3e 0a | 66 72 6f 6d 20 70 6f 73 |>.<PRE>.|from pos|
|000016c0| 69 78 66 69 6c 65 20 69 | 6d 70 6f 72 74 20 2a 0a |ixfile i|mport *.|
|000016d0| 0a 66 69 6c 65 20 3d 20 | 6f 70 65 6e 28 27 2f 74 |.file = |open('/t|
|000016e0| 6d 70 2f 74 65 73 74 27 | 2c 20 27 77 27 29 0a 66 |mp/test'|, 'w').f|
|000016f0| 69 6c 65 2e 6c 6f 63 6b | 28 27 77 7c 27 29 0a 2e |ile.lock|('w|')..|
|00001700| 2e 2e 0a 66 69 6c 65 2e | 6c 6f 63 6b 28 27 75 27 |...file.|lock('u'|
|00001710| 29 0a 66 69 6c 65 2e 63 | 6c 6f 73 65 28 29 0a 3c |).file.c|lose().<|
|00001720| 2f 50 52 45 3e 0a 0a 3c | 48 52 3e 0a 0a 3c 2f 42 |/PRE>..<|HR>..</B|
|00001730| 4f 44 59 3e 0a 3c 2f 48 | 54 4d 4c 3e 0a |ODY>.</H|TML>. |
+--------+-------------------------+-------------------------+--------+--------+