Caml1999I037\ 8i}$Unix%error ;@@%E2BIG@@(unix.mlimm@@A@&EACCES@@ n n@@B@&EAGAIN@@oo@@#C@%EBADF@@p35p3<@@,D@%EBUSY@@%qfh&qfo@@5E@&ECHILD@@.r/r@@>F@'EDEADLK@@7s8s@@GG@$EDOM@@@t  At  @@PH@&EEXIST@@Iu L NJu L V@@YI@&EFAULT@@Rv w ySv w @@bJ@%EFBIG@@[w  \w  @@kK@%EINTR@@dx  ex  @@tL@&EINVAL@@my  ny  @@}M@#EIO @@vz > @wz > E@@N@&EISDIR!@@{ p r{ p z@@O@&EMFILE"@@|  |  @@P@&EMLINK#@@}  }  @@Q@,ENAMETOOLONG$@@~  ~  @@R@&ENFILE%@@ ? A ? I@@S@&ENODEV&@@@  @  @@T@&ENOENT'@@A  A  @@U@'ENOEXEC(@@B  B  @@V@&ENOLCK)@@C  C  '@@W@&ENOMEM*@@D O QD O Y@@X@&ENOSPC+@@E  E  @@Y@&ENOSYS,@@F  F  @@Z@'ENOTDIR-@@G  G  @@[@)ENOTEMPTY.@@H  H  )@@\@&ENOTTY/@@I O QI O Y@@ ]@%ENXIO0@@J  J  @@^@%EPERM1@@K  K  @@_@%EPIPE2@@LL @@(`@&ERANGE3@@!M-/"M-7@@1a@%EROFS4@@*N]_+N]f@@:b@&ESPIPE5@@3O4O@@Cc@%ESRCH6@@<P=P@@Ld@%EXDEV7@@EQFQ@@Ue@+EWOULDBLOCK8@@NR(*OR(7@@^f@+EINPROGRESS9@@WS]_XS]l@@gg@(EALREADY:@@`TaT@@ph@(ENOTSOCK;@@iUjU@@yi@,EDESTADDRREQ<@@rVsV!@@j@(EMSGSIZE=@@{WMO|WMY@@k@*EPROTOTYPE>@@X}X}@@l@+ENOPROTOOPT?@@YY@@m@/EPROTONOSUPPORT@@@ZZ@@n@/ESOCKTNOSUPPORTA@@[')[':@@o@*EOPNOTSUPPB@@\`b\`n@@p@,EPFNOSUPPORTC@@]]@@q@,EAFNOSUPPORTD@@^^@@r@*EADDRINUSEE@@_-/_-;@@s@-EADDRNOTAVAILF@@`ce`ct@@t@(ENETDOWNG@@aa@@u@+ENETUNREACHH@@bb@@v@)ENETRESETI@@cc@@w@,ECONNABORTEDJ@@dIKdIY@@x@*ECONNRESETK@@ee@@ y@'ENOBUFSL@@ff@@z@'EISCONNM@@ g g@@{@(ENOTCONNN@@h57h5A@@$|@)ESHUTDOWNO@@ilnily@@-}@,ETOOMANYREFSP@@&j'j@@6~@)ETIMEDOUTQ@@/k0k@@?@,ECONNREFUSEDR@@8l!#9l!1@@H@@)EHOSTDOWNS@@AmSUBmS`@@QA@,EHOSTUNREACHT@@JnKn@@ZB@%ELOOPU@@SoTo@@cC@)EOVERFLOWV@@\p]p@@lD@+EUNKNOWNERRW#intA@@@@@lr8:mr8N@@|E@@@A@@@@@pltt@@@@@@A@ *Unix_error ##exnG@@@@&stringQ@@@@@@@@A&_none_@@A@F@B@-error_message @@@@@@@@@@@@G@@1handle_unix_error@@!a@!b@@@@ @@@@@@@@H@@+environment@$unitF@@@%arrayJK@@@@@@@@@,,,R@@I@@2unsafe_environment@@@@c@@@@@@@@@/@@J@@&getenv@s@@@w@@@@@@sss@@ K@@-unsafe_getenv@@@@@@@@@@@@ L@@&putenv@@@@@@@@d@@@ @@ @@ @)*@@9M@@(unsetenv@@@@ w@@@ @@@<  =  @@LN@@.process_status;@@'WEXITEDb@@@@@P!L!PQ!L!^@@`P@)WSIGNALEDc&Stdlib#Sys&signal@@@@@d!!e!!@@tQ@(WSTOPPED#Sys&signal@@@@@u"B"Dv"B"\@@R@@@A@@@@@y!6!6@@@@O@A@)wait_flag;@@'WNOHANG@@%%!%%(@@T@)WUNTRACED@@%%%%@@U@@@A@@@@@% % @@A@S@A@%execv@@@@@ݠ&@@@@@@!a@@@@@@%%%&#@@V@@&execve@:@@@@D@@@@@@@O@@@@@@!a@@@@@@@ @((((@@W@@&execvp@c@@@!@$m@@@"@@@#!a@$@@%@@&@)l)l)l)@@X@@'execvpe@@@@'@B@@@(@@@)@M@@@*@@@+!a@,@@-@@.@@/@!))")*@@1Y@@$fork@k@@@0@@@1@@2@4*n*n5*n*@@DZ@@$wait@~@@@3@@@@5@@@@4@@6@@7@Q,`,`R,`,@@a[@@'waitpid@$listK@@@8@@@9@@@@:@ @@@<@*@@@;@@=@@>@@?@z -,-,{ -,-g@@\@@&system@@@@@<@@@A@@B@/K/K/K/p@@]@@%_exit@1@@@C!a@D@@E@"1q1q"1q1@@^@@&getpid @@@@FH@@@G@@H@652526525J@@_@@'getppid!@@@@I[@@@J@@K@95r5r95r5@@`@@$nice"@j@@@Ln@@@M@@N@?66?66@@a@@*file_descr#;@@@A@@@@@I77I77+@@@@b@A@%stdin$@@@O@L7[7[L7[7q@@c@@&stdout% @@@P@O77O77@@ d@@&stderr&@@@Q@R77R77@@e@@)open_flag';@@(O_RDONLY̐@@V868:V868B@@&g@(O_WRONLY͐@@W8n8p W8n8z@@/h@&O_RDWRΐ@@(X88)X88@@8i@*O_NONBLOCKϐ@@1Y882Y88@@Aj@(O_APPENDА@@:Z9+9-;Z9+97@@Jk@'O_CREATѐ@@C[9b9dD[9b9m@@Sl@'O_TRUNCҐ@@L\99M\99@@\m@&O_EXCLӐ@@U]99V]99@@en@(O_NOCTTYԐ@@^^::!_^::+@@no@'O_DSYNCՐ@@g_:l:nh_:l:w@@wp@&O_SYNC֐@@pa::qa:;@@q@'O_RSYNCא@@yc;;zc;;@@r@.O_SHARE_DELETEؐ@@e<<e<<@@s@)O_CLOEXECِ@@g<<g<<@@t@*O_KEEPEXECڐ@@k==k==@@u@@@A@@@@@U8%8%@@A@f@A@)file_perm(;@@@A<@@@R@@@@p>;>;p>;>O@@A@v@A@(openfile)@/@@@S@[@@@T@@@U@(@@@V@@@W@@X@@Y@@Z@t>>t>?@@w@@%close*@@@@[@@@\@@]@y??y??@@x@@%fsync+@@@@^(@@@_@@`@|@@|@@!@@y@@$read,@ @@@a@%bytesC@@@b@@@@c@@@@d@@@e@@f@@g@@h@@i@@l@l@l@@@#z@@-read_bigarray-@3@@@j@(Bigarray&Array1!t@@m(Bigarray1int8_unsigned_elt@@@l(Bigarray(c_layout@@@k@@@n@@@@o@@@@p@@@q@@r@@s@@t@@u@OAbAbPAA@@_{@@%write.@o@@@v@b@@@w@@@@x@@@@y @@@z@@{@@|@@}@@~@sB/B/tB/Bc@@|@@.write_bigarray/@@@@@*(Bigarray&Array1!t`@4(Bigarray1int8_unsigned_elt@@@<(Bigarray(c_layout@@@@@@@:@@@@@@@@D@@@@@@@@@@@@CCDD@@}@@,single_write0@@@@@@@@@^@@@@d@@@h@@@@@@@@@@@@D`D`D`D@@~@@/write_substring1@@@@@`@@@@@@@@@@@@@@@@@@@@@@@E0E0E0Eo@@@@6single_write_substring2@@@@@@@@@@@@@@@@@@@@@@@@@@@@EEEF"@@*@@5single_write_bigarray3@:@@@@(Bigarray&Array1!t@(Bigarray1int8_unsigned_elt@@@(Bigarray(c_layout@@@@@@@@@@@@@@@@@@@@@@@@@@UFFVG G@@e@@3in_channel_of_descr4@u@@@*in_channel@@@@@@hGGiGG@@x@@4out_channel_of_descr5@@@@+out_channel@@@@@@{M M |M M>@@@@3descr_of_in_channel6@+*in_channel@@@@@@@@@QQQQ5@@@@4descr_of_out_channel7@>+out_channel@@@@@@@@@QwQwQwQ@@@@,seek_command8;@@(SEEK_SETe@@R'R+R'R3@@@(SEEK_CURf@@RuRwRuR@@@(SEEK_ENDg@@RRRR@@@@@A@@@@@RR@@A@@A@%lseek9@@@@@o@@@@7@@@y@@@@@@@@@@S/S/S/Sc@@@@(truncate:@l@@@@@@@7@@@@@@@@SSST@@ @@)ftruncate;@@@@@@@@O@@@@@@@@T;T;T;Td@@$@@)file_kind<;@@%S_REGl@@# TT$ TT@@3@%S_DIRm@@, UU- UU$@@<@%S_CHRn@@5 ULUN6 ULUU@@E@%S_BLKo@@>UU?UU@@N@%S_LNKp@@GUUHUU@@W@&S_FIFOq@@PUUQUU@@`@&S_SOCKr@@YVV!ZVV)@@i@@@A@@@@@] TT@@A@l@A@%stats=;@@&st_devt@@@@@ڰnV[V_oV[Vl@@~@&st_inou@@@@@ٰzVV{VV@@@'st_kindv@@k@@@ذVVVV@@@'st_permw@@@@@װVWVW@@@(st_nlinkx@@3@@@ְW1W5W1WD@@@&st_uidy@@?@@@հWhWlWhWy@@@&st_gidz@@K@@@԰WWWW@@@'st_rdev{@@W@@@ӰWWWW@@@'st_size|@@c@@@ҰX+X/X+X=@@@(st_atime}@@%floatD@@@ѰX`XdX`Xu@@@(st_mtime~@@@@@аXXXX@@@(st_ctime@@@@@ϰXXXX@@ @@@A@@@@@VNVN YY@@@@ @A@$stat>@@@@@@@@@@ #YPYP #YPYj@@ @@%lstat?@@@@@@@@@@ &YY &YY@@ ,@@%fstat@@<@@@$@@@@@@ -*Z+Z+ .*Z+ZJ@@ =@@&isattyA@M@@@$boolE@@@@@@ A.ZZ B.ZZ@@ Q@@Ӡ)LargeFileB@%lseek@g@@@@%int64O@@@@@@@ @@@@@@@@@@ f6[u[y g6[u[@@ v@@(truncate@@@@@ @@@@@@@@@@@ 9[[ 9[[@@ @@)ftruncate@@@@@8@@@@@@@@@@@ <\\ <\\A@@ @@%stats;@@&st_dev@@?@@@ @\p\x @\p\@@ @&st_ino@@K@@@ A\\ A\\@@ @'st_kind@@;@@@ B\\ B\\@@ @'st_perm@@@@@ C]]% C]]9@@ @(st_nlink@@m@@@߰ D]V]^ D]V]m@@ @&st_uid@@y@@@ް E]] E]]@@ @&st_gid@@@@@ݰ F]] F]]@@ @'st_rdev@@@@@ܰ G^^! G^^/@@ @'st_size@@@@@۰ H^`^h H^`^x@@ @(st_atime@@:@@@ڰ I^^ I^^@@ #@(st_mtime@@F@@@ٰ J^^ J^^@@ /@(st_ctime@@R@@@ذ +K__ ,K__0@@ ;@@@A@@@@@ /?\_\c 0L_Z_a@@@@ ?@A@$stat@@@@@@@@@@ BM_b_f CM_b_@@ R@@%lstat@@@@@@@@@@ TN__ UN__@@ d@@%fstat@t@@@$@@@@@@ eO__ fO__@@ u@@@@ i4[\[\ jP__@ y@@@(map_fileC@@@@#pos&optionL*@@@@@@@.(Bigarray$kind!a@!b@@@@@B(Bigarray&layout!c@@@@@p@@@@O@@@@@@a(Bigarray(Genarray!t40"@@@@@@@@@@@@@@@@ ^aa cbb@@ @@&unlinkD@P@@@@@@@@@ k~k~ k~k@@ @@&renameE@c@@@@i@@@.@@@@@@@@ l^l^ l^l@@ @@$linkF&follow@@@@@@@@@@@@@@S@@@@@@@@@@ mm n%nH@@ (@@(realpathG@@@@ @@@ @@ @ +pp ,pp@@ ;@@1access_permissionH;@@$R_OK@@ :qq ;qq@@ J@$W_OK@@ Cqq Dqq@@ S@$X_OK@@ Lqr Mqr@@ \@$F_OK@@ Ur;r= Vr;rC@@ e@@@A@@@@@ Yqwqw@@A@ h@A@%chmodI@@@@ @@@@ @@@@@@@@ prr qrr@@ @@&fchmodJ@@@@@@@@@@@@@@@@ rr rs@@ @@%chownK@ @@@@ 2@@@@ 8@@@@@@@@@@@@@ svsv svs@@ @@&fchownL@@@@@ P@@@@ V@@@@@@ @@!@@"@@#@ tt tt2@@ @@%umaskM@ @@@$@@@%@@&@ tt tt@@ @@&accessN@ ^@@@'@@@@(@@@) .@@@*@@+@@,@ u9u9 u9un@@ @@#dupO'cloexec@@@-@@@.@@@@/"@@@0@@1@@2@ vuvu vv@@ @@$dup2P'cloexec@@@3@@@4@<@@@5@A@@@6 n@@@7@@8@@9@@:@ 3ww 4ww@@ C@@,set_nonblockQ@S@@@; @@@<@@=@ Exx Fxx@@ U@@.clear_nonblockR@e@@@> @@@?@@@@ Wz0z0 Xz0zW@@ g@@1set_close_on_execS@w@@@A @@@B@@C@ izz jzz@@ y@@3clear_close_on_execT@@@@D @@@E@@F@ {6]] |6]@@ @@%mkdirU@ @@@G@@@@H @@@I@@J@@K@ > >)@@ @@%rmdirV@ @@@L @@@M@@N@ App Ap@@ @@%chdirW@ /@@@O @@@P@@Q@ D D@@ @@&getcwdX@ @@@R F@@@S@@T@ G G@@ @@&chrootY@ U@@@U @@@V@@W@ JMM JMh@@ @@*dir_handleZ;@@@A@@@@@ O O@@@@ @A@'opendir[@ r@@@X@@@Y@@Z@ R R'@@ @@'readdir\@@@@[ @@@\@@]@ UQQ UQs@@ @@)rewinddir]@!@@@^ [@@@_@@`@ Y !Y @@ 0@@(closedir^@3@@@a m@@@b@@c@ 2\OO 3\Op@@ B@@$pipe_'cloexecĠ@@@d@@@e@ @@@f@f@@@h@k@@@g@@i@@j@@k@ Yd Ze(@@ i@@&mkfifo`@ @@@l@@@@m @@@n@@o@@p@ ql>> rl>f@@ @@.create_processa@ @@@q@  @@@r@@@s@@@@t@@@@u@@@@v 4@@@w@@x@@y@@z@@{@@|@ u w^s@@ @@2create_process_envb@ '@@@}@  1@@@~@@@@  <@@@@@@@@@@@@@@@@@@ l@@@@@@@@@@@@@@@@  @@ @@/open_process_inc@ _@@@ *in_channel@@@@@@  @@ @@0open_process_outd@ s@@@ +out_channel@@@@@@  @@@@,open_processe@ @@@@ *in_channel@@@@ +out_channel@@@@@@@@@@-@@1open_process_fullf@ @@@@ g @@@@@@@ *in_channel@@@@ +out_channel@@@@ *in_channel@@@@@@@@@@N``Ox@@^@@1open_process_argsg@ @@@@  @@@@@@@ *in_channel@@@@ +out_channel@@@@@@@@@@x@@y@@@@@4open_process_args_inh@ @@@@   @@@@@@ 7*in_channel@@@@@@@@ZZZ@@@@5open_process_args_outi@ @@@@  *@@@@@@ V+out_channel@@@@@@@@Q@@@@6open_process_args_fullj@ ?@@@@  I@@@@@@@  T@@@@@@@ *in_channel@@@@ +out_channel@@@@ *in_channel@@@@@@@@@@@@9@@@@.process_in_pidk@ *in_channel@@@ @@@@@@RRRx@@@@/process_out_pidl@ +out_channel@@@ @@@@@@   H@@*@@+process_pidm@@ *in_channel@@@Ǡ@ +out_channel@@@@@ @@@@@@9:#@@I@@0process_full_pidn@@ *in_channel@@@͠@ +out_channel@@@̠@ *in_channel@@@@@ @@@@@@_` @@o@@0close_process_ino@ *in_channel@@@ "@@@@@@rs@@@@1close_process_outp@ "+out_channel@@@ 5@@@@@@yyy@@@@-close_processq@@ 9*in_channel@@@ؠ@ @+out_channel@@@@@ S@@@@@@<<<z@@@@2close_process_fullr@@ W*in_channel@@@ޠ@ ^+out_channel@@@ݠ@ e*in_channel@@@@@ x@@@@@@  V@@@@'symlinks&to_dirZ@@@@@@@ ]@@@@ c@@@ (@@@@@@@@@@Ek@@@@+has_symlinkt@ 7@@@@@@@@@6  6 '@@@@(readlinku@ @@@ @@@@@@=aa=a@@#@@&selectv@   7@@@@@@@ ̠ A@@@@@@@ ֠ K@@@@@@@g@@@@  ]@@@@@@@  g@@@@@@@  q@@@@@@@@@@@@@@@@@`DaF M@@p@@,lock_commandw;@@'F_ULOCK@@oYpY@@@&F_LOCK@@xZyZ@@@'F_TLOCK@@["$["-@@@&F_TEST@@\pr\pz@@@'F_RLOCK@@]]@@@(F_TRLOCK@@^^ @@@@@A@@@@@X@@A@@A@%lockfx@ @@@@L@@@@O@@@ @@@@@@@@@@allal@@@@$killy@b@@@ @ t#Sys&signal@@@ @@@ @@ @@ @lll@@@@3sigprocmask_commandz;@@+SIG_SETMASK@@@@@)SIG_BLOCK@@@@@+SIG_UNBLOCK@@@@ @@@A@@@@@@@A@ @A@+sigprocmask{@,@@@@  #Sys&signal@@@@@@  #Sys&signal@@@@@@@@@@@&'L@@6@@*sigpending|@p@@@ ٠ #Sys&signal@@@@@@@@@AB@@Q@@*sigsuspend}@  #Sys&signal@@@@@@@@@@@@\]@@l@@%pause~@@@@@@@@@@op@@@@'sigwait@ $#Sys&signal@@@ @@@!,#Sys&signal@@@"@@#@âââ@@@@-process_times;@@)tms_utime@@@@@'ŻſŻ@@@)tms_stime@@@@@& @@@*tms_cutime@@@@@%/3/F@@@*tms_cstime@@@@@$swsƊ@@@@AA@@@@@ŦŦƹƼ@@@@@A@"tm;@@&tm_sec@@o@@@0@@ @&tm_min@@{@@@/262C@@ @'tm_hour@@@@@.gkgy@@ @'tm_mday@@@@@-ǚǞǚǬ@@  @&tm_mon@@@@@,  @@@'tm_year@@@@@+!@@%@'tm_wday@@@@@*!BF"BT@@1@'tm_yday@@@@@)-ȃȇ.ȃȕ@@=@(tm_isdst@@@@@(9Ƚ:Ƚ@@I@@@A@@@@@=>@@@@M @A@$time@@@@1 w@@@2@@3@PIIQIa@@`@@,gettimeofday@@@@4 @@@5@@6@cɳɳdɳ@@s@@&gmtime@ @@@7@@@8@@9@vw/@@@@)localtime@ @@@:@@@;@@<@PPPk@@@@&mktime@!@@@=@ @@@?@.@@@>@@@@@A@<@@@@%alarm@H@@@BL@@@C@@D@***@@@@@%sleep@[@@@E@@@F@@G@ίίί@@@@&sleepf@ @@@H@@@I@@J@@@@@%times@&@@@K[@@@L@@M@ϳϳϳ@@@@&utimes@x@@@N@ +@@@O@ 1@@@PI@@@Q@@R@@S@@T@___Ќ@@@@.interval_timer;@@+ITIMER_REAL@@ѰѴѰѿ@@-@.ITIMER_VIRTUAL@@&'.@@6@+ITIMER_PROF@@/ҎҐ0Ҏҝ@@? @@@A@@@@@3њњ@@A@B@A@5interval_timer_status;@@+it_interval@@ k@@@VD"ӜӠE"ӜӴ@@T"@(it_value@@ w@@@UP#Q#@@`#@@AA@@@@@T!U$@@@@d!@A@)getitimer@N@@@W.@@@X@@Y@g'NNh'Nԅ@@w$@@)setitimer@@@@Z@@@@[@@@\@@]@@^@},~->@@%@@&getuid@@@@_&@@@`@@a@<UU<Um@@&@@'geteuid@@@@b9@@@c@@d@AA@@'@@&setuid@H@@@e@@@f@@g@FQQFQi@@(@@&getgid@@@@h_@@@i@@j@KK@@)@@'getegid@@@@kr@@@l@@m@PQQPQj@@*@@&setgid@@@@n*@@@o@@p@UU@@+@@)getgroups@9@@@q7@@@r@@@s@@t@ZYYZYz@@,@@)setgroups@K@@@u@@@vZ@@@w@@x@` `@@/-@@*initgroups@@@@y@@@@zs@@@{@@|@@}@8f9f@@H.@@,passwd_entry;@@'pw_name @@@@@Jo Ko@@Z0@)pw_passwd!@@@@@VpWp2@@f1@&pw_uid"@@@@@bq37cq3D@@r2@&pw_gid#@@@@@nrEIorEV@@~3@(pw_gecos$@@@@@zsW[{sWm@@4@&pw_dir%@@@@@tnrtn݂@@5@(pw_shell&@@ @@@~u݃݇u݃ݘ@@6@@@A@@@@@nvݙݜ@@@@/@A@+group_entry;@@'gr_name(@@"@@@zz@@8@)gr_passwd)@@.@@@{{@@9@&gr_gid*@@V@@@||&@@:@&gr_mem+@@J@@@@@@}'+}'@@@;@@@A@@@@@y~AD@@@@7@A@(getlogin@@@@b@@@@@@|||ޙ@@<@@(getpwnam@q@@@@@@@@@@@ =@@(getgrnam@@@@q@@@@@@{{{ߟ@@>@@(getpwuid@@@@&@@@@@@ !<@@0?@@(getgrgid@@@@%@@@@@@23@@B@@@)inet_addr;@@@A@@@@@<||=|@@@@LA@A@3inet_addr_of_string@@@@@@@@@@OP@@_B@@3string_of_inet_addr@@@@@@@@@@aTTbT@@qC@@-inet_addr_any@@@@m##n#@@@}D@@2inet_addr_loopback+@@@@yz@@E@@.inet6_addr_any7@@@@666T@@F@@3inet6_addr_loopbackC@@@@@@G@@-is_inet6_addr@Q@@@ d@@@@@@EEEj@@H@@-socket_domain;@@'PF_UNIX:@@@@J@'PF_INET;@@@@K@(PF_INET6<@@PRP\@@L@@@A@@@@@@@A@I@A@+socket_type;@@+SOCK_STREAM>@@W[Wf@@N@*SOCK_DGRAM?@@@@O@(SOCK_RAW@@@@@P@.SOCK_SEQPACKETA@@@@Q@@@A@@@@@DD@@A@M@A@(sockaddr;@@)ADDR_UNIXC@@@@@.2 .E@@S@)ADDR_INETD@@@@@@@@FHFf@@*T@@@A@@@@@@@@@-R@A@&socket'cloexec  @@@@@@@@@@@p@@@@@@@Y@@@@@@@@@@@@GH @@WU@@2domain_of_sockaddr@[@@@"@@@@@@YZE@@iV@@*socketpair'cloexec  .@@@@@@@<@@@@;@@@@@@@@@@@@@@@@@@@@@@@@@@@@W@@&accept'cloexec  _@@@@@@@@@@@@@@Ơ@[@@@@@@@@@@$@@X@@$bind@@@@@n@@@@@@@@@@@+++T@@Y@@'connect@@@@@@@@@@@@@@@@zzz@@Z@@&listen@@@@@@@@1@@@@@@@@@@[@@0shutdown_command;@@0SHUTDOWN_RECEIVEM@@@@]@-SHUTDOWN_SENDN@@@@^@,SHUTDOWN_ALLO@@@@'_@@@A@@@@@tt@@A@*\@A@(shutdown@:@@@@1@@@m@@@@@@@@2 ``3 `@@B`@@+getsockname@R@@@@@@@@@CD@@Sa@@+getpeername@c@@@@@@@@@TU:@@db@@(msg_flag;@@'MSG_OOBT@@cd@@sd@-MSG_DONTROUTEU@@lm@@|e@(MSG_PEEKV@@uv@@f@@@A@@@@@y@@A@c@A@$recv@@@@@@@@@(@@@@.@@@@>G@@@@@@=@@@@@@@@@@@@@@J@@g@@(recvfrom@@@@@@@@@W@@@@]@@@@m/@@@@@@@o@@@@@@@@@@@@@@@@@@@@!yy#@@h@@$send@@@@@@@@@@@@@@@@@f@@@@@@@@@@@@@@@@@@@ @ & 'J@@i@@.send_substring@,@@@ @@@@ @@@@ @@@@ @Ҡ@@@@@@@@@@@@@@@@@@@@:*vv;+@@Jj@@&sendto@Z@@@@M@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@!@@"@@#@m000n2u@@}k@@0sendto_substring@@@@$@@@@%@@@@&@#@@@'@3@@@(@@@)@G@@@*6@@@+@@,@@-@@.@@/@@0@@1@57@@l@@2socket_bool_option;@@(SO_DEBUG^@@BB@@n@,SO_BROADCAST_@@CC@@o@,SO_REUSEADDR`@@D13D1A@@p@,SO_KEEPALIVEa@@EsuEs@@q@,SO_DONTROUTEb@@FF@@r@,SO_OOBINLINEc@@GG@@s@-SO_ACCEPTCONNd@@H H/@@t@+TCP_NODELAYe@@IceIcr@@u@)IPV6_ONLYf@@JJ@@v@,SO_REUSEPORTg@@KK@@w@@@A@@@@@A@@A@m@A@1socket_int_option;@@)SO_SNDBUFi@@QQ @@"y@)SO_RCVBUFj@@R+-R+8@@+z@(SO_ERRORk@@$S[]%Th@0ocaml.deprecated+Thn,Th~@ "Use Unix.getsockopt_error instead.7Th8Th@@:Th;Th@@@@@@>Thl@@M{@'SO_TYPEl@@FVGV@@V|@+SO_RCVLOWATm@@OW PW @@_}@+SO_SNDLOWATn@@XX]_YX]l@@h~@@@A@@@@@\P@@A@kx@A@4socket_optint_option;@@)SO_LINGERp@@j^cek^cn@@z@@@A@@@@@n]GG@@A@}@A@3socket_float_option;@@+SO_RCVTIMEOr@@|f}f@@@+SO_SNDTIMEOs@@g "g /@@@@@A@@@@@e@@A@@A@*getsockopt@@@@2@@@@3a@@@4@@5@@6@mAAmAz@@@@*setsockopt@@@@7@@@@8@z@@@9@@@:@@;@@<@@=@qq@@@@.getsockopt_int@@@@>@@@@?k@@@@@@A@@B@tTTtT@@@@.setsockopt_int@@@@C@@@@D@@@@E-@@@F@@G@@H@@I@ww@@@@1getsockopt_optint@@@@J@@@@K@@@L@@@M@@N@@O@zZZzZ@@@@1setsockopt_optint@/@@@P@@@@Q@@@@R@@@Sl@@@T@@U@@V@@W@1~2O@@A@@0getsockopt_float@Q@@@X@@@@Yp@@@Z@@[@@\@IJ@@Y@@0setsockopt_float@i@@@]@@@@^@@@@_@@@`@@a@@b@@c@fFFgF@@v@@0getsockopt_error@@@@d@@@e@@@f@@g@|}@@@@/open_connection@5@@@h@3*in_channel@@@j@:+out_channel@@@i@@k@@l@@@@@3shutdown_connection@J*in_channel@@@m@@@n@@o@    I@@@@0establish_server@@`*in_channel@@@p@g+out_channel@@@q@@@r@@s@@t@{@@@u@@@v@@w@@x@    @@@@*host_entry;@@&h_name@@`@@@~"@@@)h_aliases@@'p@@@|@@@}#'#@@@@*h_addrtype@@@@@{AEA`@@@+h_addr_list@@C@@@y@@@zaea@@"@@@A@@@@@  @@@@&@A@.protocol_entry;@@&p_name@@@@@()@@8@)p_aliases@@i@@@@@@9:@@I@'p_proto@@@@@E F@@U@@@A@@@@@IJ@@@@Y@A@-service_entry;@@&s_name@@@@@[ko\k@@k@)s_aliases@@@@@@@@lm@@|@&s_port@@@@@xy@@@'s_proto@@@@@@@@@@A@@@@@VV@@@@@A@+gethostname@@@@@@@@@@"@@@@-gethostbyname@$@@@@@@@@@NNNv@@@@-gethostbyaddr@n@@@@@@@@@@@@@.getprotobyname@H@@@@@@@@@nnn@@@@0getprotobynumber@w@@@@@@@@@0@@@@-getservbyname@m@@@@s@@@@@@@@@@@@@ @@-getservbyport@@@@@@@@@@@@@@@@AAAs@@%@@)addr_info;@@)ai_family@@@@@&'@@6@+ai_socktype@@@@@13723Q@@A@+ai_protocol@@@@@=nr>n@@M@'ai_addr@@@@@HI@@X@,ai_canonname@@@@@TU@@d@@@A@@@@@XY/2@@@@h@A@2getaddrinfo_option;@@)AI_FAMILY4@@@@@kl@@{@+AI_SOCKTYPE;@@@@@xy@@@+AI_PROTOCOL@@@@@!5@@@.AI_NUMERICHOST@@iki{@@@,AI_CANONNAME@@ @@@*AI_PASSIVE@@@@@@@A@@@@@kk@@@@@A@+getaddrinfo@-@@@@3@@@@_d@@@@@@h@@@@@@@@@@@@@22C@@@@)name_info;@@+ni_hostname@@Y@@@sws@@@*ni_service@@e@@@@@@@@A@@@@@bb @@@@@A@2getnameinfo_option;@@)NI_NOFQDN@@jnjw@@@.NI_NUMERICHOST@@@@@+NI_NAMEREQD@@@@ @.NI_NUMERICSERV@@ 24 2D@@)@(NI_DGRAM@@"!wy#!w@@2@@@A@@@@@&PP@@A@5@A@+getnameinfo@@@@@٠G@@@@@@n@@@@@@@@B%C%V@@R@@+terminal_io;@@(c_ignbrkA@@@@߰T7!!U7!!@@d@(c_brkintA@!@@@ް`8!!a8!!@@p@(c_ignparA@-@@@ݰl9""m9"".@@|@(c_parmrkA@9@@@ܰx:"]"ay:"]"y@@@'c_inpckA@E@@@۰;"";""@@@(c_istripA@Q@@@ڰ<""<""@@@'c_inlcrA@]@@@ٰ=#!#%=#!#<@@@'c_igncrA@i@@@ذ>#]#a>#]#x@@@'c_icrnlA@u@@@װ?##?##@@@&c_ixonA@@@@ְ@##@##@@@'c_ixoffA@@@@հA$$#A$$:@@@'c_opostA@@@@԰C$$C$$@@@'c_obaudA@z@@@ӰE$$E$$@@@'c_ibaudA@@@@ҰF%0%4F%0%J@@@'c_csizeA@@@@ѰG%f%jG%f%@@ @(c_cstopbA@@@@аH%% H%%@@@'c_creadA@@@@ϰI%%I%& @@$@(c_parenbA@@@@ΰ J&*&.!J&*&F@@0@(c_paroddA@@@@Ͱ,K&w&{-K&w&@@<@'c_hupclA@@@@̰8L&&9L&&@@H@(c_clocalA@@@@˰DM&'EM&'@@T@&c_isigA@@@@ʰPO'S'WQO'S'm@@`@(c_icanonA@@@@ɰ\P'']P''@@l@(c_noflshA@)@@@ȰhR(( iR((8@@x@&c_echoA@5@@@ǰtS(g(kuS(g(@@@'c_echoeA@A@@@ưT((T((@@@'c_echokA@M@@@ŰU((U() @@@(c_echonlA@Y@@@İV)>)BV)>)Z@@@'c_vintrA@$charB@@@ðX))X))@@@'c_vquitA@@@@°Y))Y)* @@@(c_veraseA@@@@Z*5*9Z*5*Q@@@'c_vkillA@&@@@[**[**@@@&c_veofA@2@@@\**\**@@@&c_veolA@>@@@]++]++5@@@&c_vminA@@@@^+l+p^+l+@@@'c_vtimeA@@@@`+,`+,@@ @(c_vstartA@b@@@a,E,Ia,E,a@@@'c_vstopA@n@@@b,,b,,@@"@@@A@@@@@4!Z!Zc,,@@@@&@A@)tcgetattr@6@@@@@@@@@(e,,)e,-@@8@@,setattr_when;@@'TCSANOW֐@@7l--8l--@@G@)TCSADRAINא@@@m--Am--@@P@)TCSAFLUSHؐ@@In--Jn--@@Y@@@A@@@@@Mk--@@A@\@A@)tcsetattr@l@@@@1@@@@>@@@@@@@@@@@@@ip--jp--@@y@@+tcsendbreak@@@@@@@@@@@@@@@@|//|/0 @@@@'tcdrain@@@@@@@@@@0000@@@@+flush_queue;@@(TCIFLUSHݐ@@1111@@@(TCOFLUSHސ@@1111@@@)TCIOFLUSHߐ@@1111@@@@@A@@@@@11@@A@@A@'tcflush@@@@@1@@@ @@@@@@@@1111@@@@+flow_action;@@&TCOOFF@@3M3Q3M3W@@@%TCOON@@3X3Z3X3a@@@&TCIOFF@@3b3d3b3l@@ @%TCION@@3m3o3m3v@@ @@@A@@@@@3:3:@@A@ @A@&tcflow@@@@@:@@@O@@@@@@@@ 3x3x 3x3@@ $@@&setsid@^@@@@@@@@@ '44 (45@@ 7@@@q[$Unix0ŀ (?+Stdlib__Sys0 -ռ鱦s5//Stdlib__Complex0r ƻڷn.̠0Stdlib__Bigarray0@A@&stringQ;@@ A@@@@@B@@@%bytesC;@@ A@@@@@F@@@%floatD;@@A@@@@@J@@@$boolE;@@%falsec@@T@$trued@@Z@@@A@@@@@[@A@$unitF;@@"()e@@e@@@A@@@@@f@A@ #exnG;@@@A@@@@@j@@@#effH;@@O@A@A@@@@@@s@@@,continuationI;@@Q@@P@B@A@nY@@@@@@@@@%arrayJ;@@R@A@A@@@@@@@@@ $listK;@@S@A"[]f@@@"::g@@@T@@@ @@A@Y@@@@@@@@&optionL;@@V@A$Noneh@@@$Somei@@@@@A@Y@@@@@@@@)nativeintM;@@A@@@@@@@@%int32N;@@A@@@@@@@@%int64O;@@A@@@@@@@@&lazy_tP;@@X@AJA@Y@@@@@@@@5extension_constructorR;@@A@@@@@@@@*floatarrayS;@@A@@@@@@@@&iarrayT;@@Y@A[A@Y@@@@@@@@*atomic_locU;@@Z@AdA@@@@@@@@@.Assert_failure`#@@@@@J@@@@@@@@[@@A=ocaml.warn_on_literal_pattern @ @0Division_by_zero]#@@@A  @+End_of_file\#$@@@A@'FailureY#,@'@@A!$$@0Invalid_argumentX#5@0@@A*$-#-@-Match_failureV#>@@=@9@;@@a@@A;5>4>@)Not_foundZ#O@@@AC=F<F@-Out_of_memoryW#W@@@AKENDN@.Stack_overflow^#_@@@ASMVLV@.Sys_blocked_io_#g@@@A[U^T^@)Sys_error[#o@j@@Ad^g]g@:Undefined_recursive_modulea#x@@w@s@u@@h@@Auoxnx@:Continuation_already_takenb#@@@A}wv@&Stdlib@Ax2 {1 Error report} iZZiZq@@@@@@A+%errorAltylt~@@;@@%E2BIG@@mm@)ocaml.doc8 Argument list too long mm@@@@@@@A@&EACCES@@nn@3 Permission denied nn@@@@@@@B@&EAGAIN@@oo@0 - Resource temporarily unavailable; try again oo2@@@@@@@C@%EBADF@@p35p3<@G5 Bad file descriptor p3Kp3e@@@@@@@ D@%EBUSY@@qfhqfo@^6 Resource unavailable qf~qf@@@@@@@ E@&ECHILD@@rr@u2 No child process rr@@@@@@@7F@'EDEADLK@@'s(s@? Resource deadlock would occur 5s6s @@@@@@@NG@$EDOM@@>t  ?t  @ ' Domain error for math functions, etc. Lt  Mt  K@@@@@@@eH@&EEXIST@@Uu L NVu L V@- File exists cu L ddu L v@@@@@@@|I@&EFAULT@@lv w ymv w @ѐ- Bad address zv w {v w @@@@@@@J@%EFBIG@@w  w  @萠0 File too large w  w  @@@@@@@K@%EINTR@@x  x  @ Function interrupted by signal x  x  @@@@@@@L@&EINVAL@@y  y  @2 Invalid argument y  &y  =@@@@@@@M@#EIO @@z > @z > E@-4 Hardware I/O error z > Vz > o@@@@@@@N@&EISDIR!@@{ p r{ p z@D0 Is a directory { p { p @@@@@@@O@&EMFILE"@@|  |  @[ $ Too many open files by the process |  |  @@@@@@@P@&EMLINK#@@ }  }  @r0 Too many links }  }  @@@@@@@4Q@,ENAMETOOLONG$@@$~  %~  @3 Filename too long 2~  &3~  >@@@@@@@KR@&ENFILE%@@; ? A< ? I@ # Too many open files in the system I ? WJ ? @@@@@@@bS@&ENODEV&@@R@  S@  @0 No such device `@  a@  @@@@@@@yT@&ENOENT'@@iA  jA  @ΐ; No such file or directory wA  xA  @@@@@@@U@'ENOEXEC(@@B  B  @吠8 Not an executable file B  B  @@@@@@@V@&ENOLCK)@@C  C  '@4 No locks available C  5C  N@@@@@@@W@&ENOMEM*@@D O QD O Y@3 Not enough memory D O gD O @@@@@@@X@&ENOSPC+@@E  E  @*9 No space left on device E  E  @@@@@@@Y@&ENOSYS,@@F  F  @A8 Function not supported F  F  @@@@@@@Z@'ENOTDIR-@@G  G  @X1 Not a directory G  G  @@@@@@@[@)ENOTEMPTY.@@ H   H  )@o5 Directory not empty H  4H  N@@@@@@@1\@&ENOTTY/@@!I O Q"I O Y@ % Inappropriate I/O control operation /I O g0I O @@@@@@@H]@%ENXIO0@@8J  9J  @; No such device or address FJ  GJ  @@@@@@@_^@%EPERM1@@OK  PK  @9 Operation not permitted ]K  ^K @@@@@@@v_@%EPIPE2@@fLgL @ː- Broken pipe tLuL,@@@@@@@`@&ERANGE3@@}M-/~M-7@␠2 Result too large M-EM-\@@@@@@@a@%EROFS4@@N]_N]f@7 Read-only file system N]uN]@@@@@@@b@&ESPIPE5@@OO@= Invalid seek e.g. on a pipe OO@@@@@@@c@%ESRCH6@@PP@'1 No such process PP@@@@@@@d@%EXDEV7@@QQ@>. Invalid link QQ'@@@@@@@e@+EWOULDBLOCK8@@R(*R(7@U7 Operation would block R(@R(\@@@@@@@f@+EINPROGRESS9@@S]_S]l@l; Operation now in progress S]uS]@@@@@@@.g@(EALREADY:@@TT@? Operation already in progress ,T-T@@@@@@@Eh@(ENOTSOCK;@@5U6U@ Socket operation on non-socket CUDU@@@@@@@\i@,EDESTADDRREQ<@@LVMV!@> Destination address required ZV)[VL@@@@@@@sj@(EMSGSIZE=@@cWMOdWMY@Ȑ2 Message too long qWMerWM|@@@@@@@k@*EPROTOTYPE>@@zX}{X}@ߐ Protocol wrong type for socket X}X}@@@@@@@l@+ENOPROTOOPT?@@YY@8 Protocol not available YY@@@@@@@m@/EPROTONOSUPPORT@@@ZZ@ 8 Protocol not supported Z Z&@@@@@@@n@/ESOCKTNOSUPPORTA@@[')[':@$; Socket type not supported ['?['_@@@@@@@o@*EOPNOTSUPPB@@\`b\`n@; # Operation not supported on socket \`x\`@@@@@@@p@,EPFNOSUPPORTC@@]]@R? Protocol family not supported ]]@@@@@@@q@,EAFNOSUPPORTD@@^^@i 1 Address family not supported by protocol family ^^,@@@@@@@+r@*EADDRINUSEE@@_-/_-;@8 Address already in use )_-E*_-b@@@@@@@Bs@-EADDRNOTAVAILF@@2`ce3`ct@ Can't assign requested address @`c{A`c@@@@@@@Yt@(ENETDOWNG@@IaJa@1 Network is down WaXa@@@@@@@pu@+ENETUNREACHH@@`bab@Ő8 Network is unreachable nbob@@@@@@@v@)ENETRESETI@@wcxc@ܐ % Network dropped connection on reset ccH@@@@@@@w@,ECONNABORTEDJ@@dIKdIY@󐠠 " Software caused connection abort dIadI@@@@@@@x@*ECONNRESETK@@ee@ : Connection reset by peer ee@@@@@@@y@'ENOBUFSL@@ff@!; No buffer space available ff@@@@@@@z@'EISCONNM@@gg@8= Socket is already connected gg4@@@@@@@{@(ENOTCONNN@@h57h5A@O9 Socket is not connected h5Mh5k@@@@@@@|@)ESHUTDOWNO@@ilnily@f " Can't send after socket shutdown ilil@@@@@@@(}@,ETOOMANYREFSP@@jj@} # Too many references: can't splice &j'j@@@@@@@?~@)ETIMEDOUTQ@@/k0k@6 Connection timed out =k>k @@@@@@@V@,ECONNREFUSEDR@@Fl!#Gl!1@4 Connection refused Tl!9Ul!R@@@@@@@m@@)EHOSTDOWNS@@]mSU^mS`@. Host is down kmSklmS~@@@@@@@A@,EHOSTUNREACHT@@tnun@ِ2 No route to host nn@@@@@@@B@%ELOOPU@@oo@𐠠 # Too many levels of symbolic links oo@@@@@@@C@)EOVERFLOWV@@pp@ ) File size or position not representable pp6@@@@@@@D@+EUNKNOWNERRW@@@@@r8:r8N@#/ Unknown error r8Pr8d@@@@@@@E@@@A@@@@@ltt@4 The type of error codes. Errors defined in the POSIX standard and additional errors from UNIX98 and BSD. All other errors are mapped to EUNKNOWNERR. seew @@@@@@@@@@@@#LLJI@8@@@LIHG@GG@@@G@G@#CCnA@2@@@DZBA@AA@@@A@A@#==o;@,@@@>k<;@;;@@@;@;@#77p375@&@@@8|)65@55@@@5@5@#11(qfj/@ @@@2:0/@//@@@/@/@#++9r)@@@@,K*)@))@@@)@)@#%%Js#@@@@&\$#@##@@@#@#@#[t  @@@@ m@@@@@@#lu L P@@@@~@@@@@@#}v w {@@@@@@@@@@#  w   @@@@  @  @@@ @ @#x  @@@@@@@@@@#y  @@@@@@@@@@#z > B@@@@&Ӑ@@@@@@#{ p t@@@@7䐠@@@@@@#|  @@@@𠰠H@@@@@@#}  @@@@꠰Y @@@@@@# ~  @@@@䠰j @@@@@@#ݠݰ  ? C@@@@ޠ{ (@@@@@@#נװ '@  @@@@ؠ 9@@@@@@#ѠѰ 8A  @@@@Ҡ J@@@@@@#ˠ˰ IB  @@@@̠ [@@@@@@#ŠŰ ZC  !@@@@Ơ l@@@@@@# kD O S@@@@ }@@@@@@# |E  @@@@ @@@@@@# F  @@@@ @@@@@@# G  @@@@ @@@@@@# H  @@@@ @@@@@@# I O S@@@@% Ґ@@@@@@# J  @@@@6 㐠@@@@@@# K  @@@@G @@@@@@# L@~@@@X @@@@@@# M-1@x@@@i @@@@@@# N]a@r@@@z '@@@@@@#}} &O{@l@@@~ 8|{@{{@@@{@{@#ww 7Pu@f@@@x Ivu@uu@@@u@u@#qq HQo@`@@@r Zpo@oo@@@o@o@#kk YR(,i@Z@@@l kji@ii@@@i@i@#ee jS]ac@T@@@f |dc@cc@@@c@c@#__ {T]@N@@@` ^]@]]@@@]@]@#YY UW@H@@@Z XW@WW@@@W@W@#SS VQ@B@@@T  RQ@QQ@@@Q@Q@#MM WMQK@<@@@N  LK@KK@@@K@K@#GG X}E@6@@@H $ ѐFE@EE@@@E@E@#AA Y?@0@@@B 5 ␠@?@??@@@?@?@#;; Z9@*@@@< F 󐠠:9@99@@@9@9@#55 ['+3@$@@@6 W 43@33@@@3@3@#// \`d-@@@@0 h .-@--@@@-@-@#)) ]'@@@@* y &('@''@@@'@'@### %^!@@@@$  7"!@!!@@@!@!@# 6_-1@ @@@  H@@@@@@# G`cg@@@@  Y@@@@@@# Xa@@@@  j@@@@@@#   ib @@@@   {  @  @@@ @ @# zc @@@@  @@@@@@# dIM@@@@  @@@@@@# e@@@@  @@@@@@# f@@@@  @@@@@@# g@@@@ # А@@@@@@# h59@@@@蠰 4 ᐠ@@@@@@# ilp@@@@⠰ E 򐠠@@@@@@#۠۰ j@@@@ܠ V @@@@@@#ՠհ k@@@@֠ g @@@@@@#Ϡϰ l!%@@@@Р x %@@@@@@#ɠɰ $mSW@@@@ʠ  6@@@@@@#àð 5n@@@@Ġ  G@@@@@@# Fo@@@@  X@@@@@@# Wp@@@@  i@@@@@@# hr8< ir8G@@г#int rr8K@@3 p o o p p p p p@ o ;@@@A@@@@@@@@A@@@@  @@@@@@@A@  @@@@@@@ @*Unix_errorXB z  z  @# @ @@@ s@@@ x@@@@@A z   z ;@  r Raised by the system calls below when an error is encountered. The first component is the error code; the second component is the function name; the third component is the string parameter to the function, if it has one, or the empty string otherwise. {!UnixLabels.Unix_error} and {!Unix.Unix_error} are the same, and catching one will catch the other.  {<< @@@@@@@ F@@г#%error z $ z )@@+3        @  = 7@A@@г*&string z , z 2@@2 @@г/&string z 50@@61@@@@3 A 10@00@@@0@0@>@!>=@-error_messageY  @б@г l%error  @@ @@@3        @;pj@A@@г ֠&string  @@ @@@@@@@@@@@  @ { 2 Return a string describing the given error code.  $ %@@@@@@@ =G@@@  8@@@@@@11handle_unix_errorZ ; <'@б@б@А!a@C@3 F E E F F F F F@H]6@A L+ M-@@А!b@C@  W1 X3@@@ @@@@б@А!a b8 c:@@А!b h> i@@@@(@@# @@@@@& p*@@@ s @ א [handle_unix_error f x] applies [f] to [x] and returns the result. If the exception {!Unix_error} is raised, it prints a message describing the error and exits with code 2.  AA @@@@@@@ H@@@  @@@@@@F  ' {1 Access to the process environment}   )@@@@@@3        @Xk1@A+environment[ ,0 ,;@б@г b$unit ,> ,B@@ @@@@@г H%array ,M ,R@г &string ,F ,L@@ @@@1@@@@@@6 @@@"@@9%@@@ ,,@ @ Return the process environment, as an array of strings with the format ``variable=value''. The returned array is empty if the process has special privileges.  SS @@@@@@@I@@*@ P @@@@@@X2unsafe_environment\@б@г $unit  @@ @@@3        @ql8@A@@г %array*/@г &string$#%)@@ @@@@@@@@@ @@@$@@!'@@@4@ < Return the process environment, as an array of strings with the format ``variable=value''. Unlike {!environment}, this function returns a populated array even if the process has special privileges. See the documentation for {!unsafe_getenv} for more details. @since 4.06 (4.12 in UnixLabels) A00BJq@@@@@@@ZJ@@*@ U@@@@@@@&getenv]XswYs}@б@г-&stringcsds@@ @@@3eddeeeee@Yn8@A@@г<&stringrsss@@ @@@@@@@@@@@}ss @ ᐠ Return the value associated to a variable in the process environment, unless the process has special privileges. @raise Not_found if the variable is unbound or the process has special privileges. This function is identical to {!Sys.getenv}. c@@@@@@@K@@@ @@@@@@1-unsafe_getenv^@б@гv&string@@ @@@3@J_8@A@@г&string@@ @@@@@@@@@@@ @ *  Return the value associated to a variable in the process environment. Unlike {!getenv}, this function returns the value even if the process has special privileges. It is considered unsafe because the programmer of a setuid or setgid program must be careful to avoid using maliciously crafted environment variables in the search path for executables, the locations for temporary files or logs, and the like. @raise Not_found if the variable is unbound. @since 4.06 @@@@@@@L@@@ :琠@@@@@@1&putenv_@б@г&string@@ @@@3@J_8@A@@б@гР&string@@ @@@@@г$unit@@ @@@@@@@@!@@@'@@$* @@@!@ [putenv name value] sets the value associated to a variable in the process environment. [name] is the name of the environment variable, and [value] its new associated value. ./ j @@@@@@@GM@@@ B@@@@@@C(unsetenv`E  F  @б@г&stringP  Q  @@ @@@3RQQRRRRR@\q8@A@@г $unit_  `  @@ @@@@@@@@@@@j   @ ΐ [ [unsetenv name] removes the variable [name] from the process environment. @since 5.5 w  x!!@@@@@@@N@@@ @@@@@@16 {1 Process handling} !!!!3@@@@@@3@CX1@AA+.process_statusaC!6!;!6!I@@;@@'WEXITEDb@@@@@!L!P!L!^@ X The process terminated normally by [exit]; the argument is the return code. !_!g!!@@@@@@@P@)WSIGNALEDcX#Sys&signal@@@ @@!!!!@5 S The process was killed by a signal; the argument is the signal number. !!""A@@@@@@@Q@(WSTOPPEDw#Sys&signal@@@ @@"B"D"B"\@T T The process was stopped by a signal; the argument is the signal number. "]"e""@@@@@@@R@@@A@@@@@!6!6@e E The termination status of a process. See {!Sys.signal} for the definitions of the standard signal numbers. On Windows: only [WEXITED] is used (as there are no inter-process signals) but with specific return codes to indicate special termination causes. Look for [NTSTATUS] values in the Windows documentation to decode such error return codes. In particular, [STATUS_ACCESS_VIOLATION] error code is the 32-bit [0xC0000005]: as [Int32.of_int 0xC0000005] is [-1073741819], [WEXITED -1073741819] is the Windows equivalent of [WSIGNALED Sys.sigsegv]. ""$% @@@@@@@@@'O@@#lle!L!W@V@гm#int!L![n@@t3@;@@@A@@@@@$"@@@As@@@@u5sr@rr@@@r@r@#nn4!!5!!@V@гpr?!!@!!@uC!!s@t@@}%u@@@@wVut@tt@@@t@t@#ppU"B"FV"B"N@X@гrt`"B"Ra"B"U@wd"B"Vu@v@@Fw@@@@ywwv@vv@@@v@v@@A@rqp@pp@@@p@p@@}@A+)wait_flagD% %% %@@;@@'WNOHANG@@%%!%%(@ e Do not block if no child has died yet, but immediately return with a pid equal to 0. %%)%J%@@@@@@@T@)WUNTRACED@@%%%%@ 5 Report also the children that receive stop signals. %%%%@@@@@@@U@@@A@@@@@% % @7 Flags for {!waitpid}. %%%%@@@@@@@A@S@@#@@>=@.@@@@3>=@==@@@=@=@#99%%7@(@@@:D񐠠87@77@@@7@7@@A@3O21@11@@@1@1@@3@a[U@A@Q@%execv%%%&@б@гנ&string %&%& @@ @@@3@@A@@б@г%array%&%&@г&string(%&)%&@@ @@@ @@@@@@"  @@А!a@'E@#)<%&!=%&#@@@ @@$.@@@4@@%17@@@F%% @  [execv prog args] execute the program in file [prog], with the arguments [args], and the current process environment. Note that the first argument, [args.(0)], is by convention the filename of the program being executed, just like [Sys.argv.(0)]. These [execv*] functions never return: on success, the current program is replaced by the new one. On Windows: the CRT simply spawns a new process and exits the current one. This will have unwanted consequences if e.g. another process is waiting on the current one. Using {!create_process} or one of the [open_process_*] functions instead is recommended. @raise Unix_error on failure S&$&$T((@@@@@@@lV@@@g@@@@@@P&execvej((k((@б@г?&stringu((v((@@ @@@(3wvvwwwww@i~8@A@@б@г %array((((@гZ&string((((@@ @@@)@@@@@@+  @@б@г*%array((((@гx&string((((@@ @@@,9@@@@@@.> @@А!a@4E@/G((((@@@ @@0L@@@3@@1O:@@@U@@2RX @@@(( @3 g Same as {!execv}, except that the third argument provides the environment to the program executed. (()@)j@@@@@@@W@@@C𐠠@@@@@@q&execvp)l)p)l)v@б@гȠ&string)l)y)l)@@ @@@53@8@A@@б@г%array)l))l)@г㠐&string)l))l)@@ @@@6@@@@@@8  @@А!a@=E@9)-)l).)l)@@@ @@:.@@@4@@;17@@@7)l)l @ G Same as {!execv}, except that the program is searched in the path. D))E))@@@@@@@]X@@@X@@@@@@P'execvpe[))\))@б@г0&stringf))g))@@ @@@>3hgghhhhh@i~8@A@@б@г%arrayw)*x)*@гK&string)))*@@ @@@?@@@@@@A  @@б@г%array)*)*@гi&string)* )*@@ @@@B9@@@@@@D> @@А!a@JE@EG)*)*@@@ @@FL@@@3@@GO:@@@U@@HRX @@@)) @$ H Same as {!execve}, except that the program is searched in the path. ***B*l@@@@@@@Y@@@4ᐠ@@@@@@q$fork*n*r*n*v@б@г$unit*n*y*n*}@@ @@@K3@8@A@@гѠ#int*n**n*@@ @@@L@@@@@M@@@ *n*n @m  Fork a new process. The returned integer is 0 for the child process, the pid of the child process for the parent process. It fails if the OCaml process is multi-core (any domain has been spawned). In addition, if any thread from the Thread module has been spawned, then the child process might be in a corrupted state. @raise Invalid_argument on Windows. Use {!create_process} or threads instead. @raise Failure if any domain has been spawned. **,*,^@@@@@@@/Z@@@}*@@@@@@1$wait-,`,d.,`,h@б@г堐$unit8,`,k9,`,o@@ @@@N3:99:::::@J_8@A@@В@г#intK,`,sL,`,v@@ @@@O@@@г.process_statusZ,`,y[,`,@@ @@@P"@@@@@ @@Q) @@@/ @@R,2@@@l,`,`@А Wait until one of the children processes die, and return its pid and termination status. @raise Invalid_argument on Windows. Use {!waitpid} instead. y,,z ,-*@@@@@@@[@@"@@@@@@@K'waitpid -,-0 -,-7@б@г$list -,-D -,-H@г)wait_flag -,-: -,-C@@ @@@S3@nB@A@@@ @@@U @@б@г#int -,-L -,-O@@ @@@V@@В@г#int -,-S -,-V@@ @@@W'@@@г9.process_status -,-Y -,-g@@ @@@X6@@@@@ @@Y= @@@- @@Z@0@@@@@@[CI@@@ -,-,@T  Same as {!wait}, but waits for the child process whose pid is given. A pid of [-1] means wait for any child. A pid of [0] means wait for any child in the same process group as the current process. Negative pid arguments represent process groups. The list of options indicates whether [waitpid] should return immediately without waiting, and whether it should report stopped children. On Windows: can only wait for a given PID, not any child process.  -h-h//I@@@@@@@\@@%@d@@@@@@b&system /K/O/K/U@б@г預&string/K/X /K/^@@ @@@\3!  !!!!!@{8@A@@г.process_status./K/b//K/p@@ @@@]@@@@@^@@@9/K/K @  Execute the given command, wait until it terminates, and return its termination status. The string is interpreted by the shell [/bin/sh] (or the command interpreter [cmd.exe] on Windows) and therefore can contain redirections, quotes, variables, etc. To properly quote whitespace and shell special characters occurring in file names or command arguments, the use of {!Filename.quote_command} is recommended. The result [WEXITED 127] indicates that the shell couldn't be executed. F/q/qG 1`1o@@@@@@@_]@@@Z@@@@@@1%_exità]"1q1u^"1q1z@б@г;#inth"1q1}i"1q1@@ @@@_3jiijjjjj@J_8@A@@А!a@cE@` y"1q1z"1q1@@@ @@a@@@"1q1q@䐠  Terminate the calling process immediately, returning the given status code to the operating system: usually 0 to indicate no errors, and a small positive integer to indicate failure. Unlike {!Stdlib.exit}, {!Unix._exit} performs no finalization whatsoever: functions registered with {!Stdlib.at_exit} are not called, input/output channels are not flushed, and the C run-time system is not finalized either. The typical use of {!Unix._exit} is after a {!Unix.fork} operation, when the child process runs into a fatal error and must exit. In this case, it is preferable to not perform any finalization action in the child process, as these actions could interfere with similar actions performed by the parent process. For example, output channels should not be flushed by the child process, as the parent process may flush them again later, resulting in duplicate output. @since 4.12 #114550@@@@@@@^@@@@@@@@@/&getpidĠ652566525<@б@г\$unit6525?6525C@@ @@@d3@H]8@A@@г#int6525G6525J@@ @@@e@@@@@f@@@65252 @- Return the pid of the process. 75K5K75K5p@@@@@@@_@@@=ꐠ@@@@@@1'getppidŠ95r5v95r5}@б@г$unit95r595r5@@ @@@g3@J_8@A@@гڠ#int95r595r5@@ @@@h@@@@@i@@@95r5r @v o Return the pid of the parent process. @raise Invalid_argument on Windows (because it is meaningless) :55 =56@@@@@@@8`@@@3@@@@@@1$niceƠ6?667?66 @б@г#intA?66 B?66@@ @@@j3CBBCCCCC@J_8@A@@г##intP?66Q?66@@ @@@k@@@@@l@@@[?66 @ Change the process priority. The integer argument is added to the ``nice'' value. (Higher values of the ``nice'' value mean lower priorities.) Return the new nice value. @raise Invalid_argument on Windows h@66iD66@@@@@@@a@@@|@@@@@@1= {1 Basic file input/output} F66F67@@@@@@3@CX1@AA+*file_descrEI77!I77+@@;@@@A@@@@@I77@ ( The abstract type of file descriptors. J7,7,J7,7Y@@@@@@@@@b@@@A@ @@@@@@@+ @%stdinȠL7[7_L7[7d@г2*file_descrL7[7gL7[7q@@ @@@m3@C=7@A@@@L7[7[ @3 $ File descriptor for standard input.M7r7rM7r7@@@@@@@c@@@C𐠠@@@@@@!&stdoutɠO77O77@гi*file_descrO77O77@@ @@@n3@8K6@A@@@O77 @j % File descriptor for standard output.P77P77@@@@@@@,d@@@z'@@@@@@!&stderrʠ*R77+R77@г*file_descr3R774R77@@ @@@o354455555@8K6@A@@@=R77 @ % File descriptor for standard error. JS77KS78#@@@@@@@ce@@@^@@@@@@!A+)open_flagFbU8%8*cU8%83@@;@@(O_RDONLY̐@@lV868:mV868B@ѐ2 Open for reading zV868V{V868m@@@@@@@g@(O_WRONLY͐@@W8n8pW8n8z@萠2 Open for writing W8n8W8n8@@@@@@@h@&O_RDWRΐ@@X88X88@> Open for reading and writing X88X88@@@@@@@i@*O_NONBLOCKϐ@@Y88Y88@; Open in non-blocking mode Y89 Y89*@@@@@@@j@(O_APPENDА@@Z9+9-Z9+97@-1 Open for append Z9+9KZ9+9a@@@@@@@k@'O_CREATѐ@@[9b9d[9b9m@D7 Create if nonexistent [9b9[9b9@@@@@@@l@'O_TRUNCҐ@@\99\99@[ " Truncate to 0 length if existing \99\99@@@@@@@m@&O_EXCLӐ@@ ]99]99@r2 Fail if existing ]9:]9:@@@@@@@4n@(O_NOCTTYԐ@@$^::!%^::+@ ' Don't make this dev a controlling tty 2^::?3^::k@@@@@@@Ko@'O_DSYNCՐ@@;_:l:n<_:l:w@ e Writes complete as `Synchronised I/O data integrity completion' I_:l:J`::@@@@@@@bp@&O_SYNC֐@@Ra::Sa:;@ e Writes complete as `Synchronised I/O file integrity completion' `a:;ab;E;@@@@@@@yq@'O_RSYNCא@@ic;;jc;;@ΐ \ Reads complete as writes (depending on O_SYNC/O_DSYNC) wc;;xd;<@@@@@@@r@.O_SHARE_DELETEؐ@@e<<e<<@吠 a Windows only: allow the file to be deleted while still open e<<$f@@@@@@@u@@@A@@@@@U8%8%@$; The flags to {!openfile}. m>>m>>8@@@@@@@A@f@@#kkih@Y@@@k9搠ih@hh@@@h@h@#ddW8n8rb@S@@@eJcb@bb@@@b@b@#^^X88\@M@@@_[]\@\\@@@\@\@#XXY88V@G@@@YlWV@VV@@@V@V@#RRZ9+9/P@A@@@S}*QP@PP@@@P@P@#LL)[9b9fJ@;@@@M;KJ@JJ@@@J@J@#FF:\99D@5@@@GLED@DD@@@D@D@#@@K]99>@/@@@A]?>@>>@@@>@>@#::\^::#8@)@@@;n98@88@@@8@8@#44m_:l:p2@#@@@532@22@@@2@2@#..~a::,@@@@/-,@,,@@@,@,@#((c;;&@@@@)'&@&&@@@&@&@#""e<< @@@@#! @  @@@ @ @#g<<@ @@@Ð@@@@@@#k==@@@@'Ԑ@@@@@@@A@2ߐ@@@@@@@3@@A.@A+)file_permGp>;>@p>;>I@@;@@SA@@@w@@@@p>;>;p>;>O@T n The type of file access rights, e.g. [0o640] is read and write for user, read for group, none for others q>P>Pr>>@@@@@@@A@v@@@Aг#intp>;>L@@3@0);@@@A1@@@|@v@@@@&#@@@A%@@'x%%$@$$@@@$@$@@3@@A32@(openfileܠ*t>>+t>>@б@г&string5t>>6t>>@@ @@@~376677777@2ZT@A@@б@г $listFt>>Gt>>@г)open_flagPt>>Qt>>@@ @@@@@@@@@  @@б@г~)file_permdt>>et>>@@ @@@/@@гޠ*file_descrqt>>rt>?@@ @@@<@@@@@?@@@&@@B- @@@H@@EK@@@t>>@搠 Open the named file with the given flags. Third argument is the permissions to give to the file if it is created (see {!umask}). Return a file descriptor on the named file. u??w??@@@@@@@w@@!@@@@@@@d%closeݠy??y??@б@г*file_descry??y??@@ @@@3@}8@A@@гm$unity??y??@@ @@@@@@@@@@@y?? @/: Close a file descriptor. z??z?@@@@@@@@x@@@?쐠@@@@@@1%fsyncޠ|@@|@@ @б@гg*file_descr|@@|@@@@ @@@3@J_8@A@@г$unit |@@ |@@!@@ @@@@@@@@@@@|@@ @x C Flush file buffers to disk. @since 4.08 (4.12 in UnixLabels) !}@"@""@C@j@@@@@@@:y@@@5@@@@@@1$readߠ8@l@p9@l@t@б@г*file_descrC@l@wD@l@@@ @@@3EDDEEEEE@J_8@A@@б@г%bytesT@l@U@l@@@ @@@@@б@г6#intc@l@d@l@@@ @@@ @@б@гE#intr@l@s@l@@@ @@@/@@гR#int@l@@l@@@ @@@<@@@@@?@@@%@@B( @@@7@@E:@@@K@@HN@@@@l@l@ [read fd buf pos len] reads [len] bytes from descriptor [fd], storing them in byte sequence [buf], starting at position [pos] in [buf]. Return the number of bytes actually read. @@A)A`@@@@@@@z@@$@@@@@@@g-read_bigarrayYAbAfAbAs@б@г/*file_descrAvAxAvA@@ @@@3@8@A@@б@г](Bigarray&Array1!t AAAA@ AAAA@@AAAA@ @@@@ $AAAA@@г(Bigarray1int8_unsigned_eltAAAA@ AAAA@@@@@@ = @@г(Bigarray(c_layoutAAAA@ AAAA@@@@@@ T @@@P6 @@@ [#AA?@@б@г#int-AA.AA@@ @@@ k@@б@г#int<AA=AA@@ @@@ z@@г#intIAAJAA@@ @@@ @@@@@ @@@%@@ ( @@@;@@ 5@@@@@ @@@]AbAb@ D Same as {!read}, but read the data into a bigarray. @since 5.2 jAAkBB-@@@@@@@{@@$@~@@@@@@%writeZB/B3B/B8@б@г*file_descrB/B;B/BE@@ @@@ 3@8@A@@б@гc%bytesB/BIB/BN@@ @@@ @@б@г#intB/BRB/BU@@ @@@  @@б@г#intB/BYB/B\@@ @@@ /@@г#intB/B`B/Bc@@ @@@ <@@@@@ ?@@@%@@ B( @@@7@@ E:@@@K@@ HN@@@B/B/@@ & [write fd buf pos len] writes [len] bytes to descriptor [fd], taking them from byte sequence [buf], starting at position [pos] in [buff]. Return the number of bytes actually written. [write] repeats the writing operation until all bytes have been written or an error occurs. BdBdCwC@@@@@@@|@@$@P@@@@@@g.write_bigarray[CCCC@б@гx*file_descr CC CC@@ @@@ 3        @8@A@@б@г(Bigarray&Array1!t $CC%CC@ (CC)CC@@-CC.CC@ @@@@ $5CC6CC@@г(Bigarray1int8_unsigned_eltCCCDCC@ GCCHCC@@@@@@ = @@г(Bigarray(c_layoutZCC[CC@ ^CC_CC@@@@@@ T @@@P6 @@@ [lCC?@@б@гI#intvDDwDD@@ @@@ k@@б@гX#intDD DD @@ @@@ z@@гe#intDDDD@@ @@@ @@@@@ @@@%@@ ( @@@;@@ 5@@@@@ @@@CC@ E Same as {!write}, but take the data from a bigarray. @since 5.2 DDDMD^@@@@@@@}@@$@ǐ@@@@@@,single_write\D`DdD`Dp@б@гB*file_descrD`DsD`D}@@ @@@ 3@8@A@@б@г%bytesD`DD`D@@ @@@ @@б@гȠ#intD`DD`D@@ @@@  @@б@гנ#intD`DD`D@@ @@@ /@@г䠐#intD`DD`D@@ @@@ <@@@@@ ?@@@%@@ B( @@@7@@ E:@@@K@@ HN@@@%D`D`@ Same as {!write}, but attempts to write only once. Thus, if an error occurs, [single_write] guarantees that no data has been written. 2DD3EE.@@@@@@@K~@@$@F@@@@@@g/write_substring]IE0E4JE0EC@б@г*file_descrTE0EFUE0EP@@ @@@ 3VUUVVVVV@8@A@@б@г/&stringeE0ETfE0EZ@@ @@@ @@б@гG#inttE0E^uE0Ea@@ @@@  @@б@гV#intE0EeE0Eh@@ @@@ /@@гc#intE0ElE0Eo@@ @@@ <@@@@@ ?@@@%@@ B( @@@7@@ E:@@@K@@ HN@@@E0E0@ c Same as {!write}, but take the data from a string instead of a byte sequence. @since 4.02 EpEpEE@@@@@@@@@$@Ő@@@@@@g6single_write_substring^EEEE@б@г@*file_descrEEEF@@ @@@ 3@8@A@@б@г&stringEFEF @@ @@@ @@б@гƠ#intEFEF@@ @@@  @@б@гՠ#intEFEF@@ @@@ /@@г⠐#intEFEF"@@ @@@ <@@@@@ ?@@@%@@ B( @@@7@@ E:@@@K@@ HN@@@#EE@ j Same as {!single_write}, but take the data from a string instead of a byte sequence. @since 4.02 0F#F#1FF@@@@@@@I@@$@D@@@@@@g5single_write_bigarray_GFFHFF@б@г*file_descrRFFSFF@@ @@@ 3TSSTTTTT@8@A@@б@г(Bigarray&Array1!t kFFlFF@ oFFpFG@@tFGuFG@ @@@@ $|FF}FF@@г(Bigarray1int8_unsigned_eltFFFF@ FFFF@@@@@@ = @@г&(Bigarray(c_layoutFFFF@ FFFF@@@@@@ T @@@P6 @@@ [FF?@@б@г#intG G G G@@ @@@ k@@б@г#intG GG G@@ @@@ z@@г#intG GG G@@ @@@ @@@@@ @@@%@@ ( @@@;@@ 5@@@@@ @@@FF@Q L Same as {!single_write}, but take the data from a bigarray. @since 5.2 GGG^Go@@@@@@@@@$@a@@@@@@ 8 {1 Interfacing with the standard input/output library} GqGqGqG@@@@@@3@1@A3in_channel_of_descr`$GG%GG@б@г *file_descr/GG0GG@@ @@@ @@г*in_channel<GG=GG@@ @@@ '@@@@@ *@@@GGG @  Create an input channel reading from the given descriptor. The channel is initially in binary mode; use [set_binary_mode_in ic false] if text mode is desired. Text mode is supported only if the descriptor refers to a file or pipe, but is not supported if it refers to a socket. On Windows: {!Stdlib.set_binary_mode_in} always fails on channels created with this function. Beware that input channels are buffered, so more characters may have been read from the descriptor than those accessed using channel functions. Channels also keep a copy of the current position in the file. Closing the channel [ic] returned by [in_channel_of_descr fd] using [close_in ic] also closes the underlying descriptor [fd]. It is incorrect to close both the channel [ic] and the descriptor [fd]. If several channels are created on the same descriptor, one of the channels must be closed, but not the others. Consider for example a descriptor [s] connected to a socket and two channels [ic = in_channel_of_descr s] and [oc = out_channel_of_descr s]. The recommended closing protocol is to perform [close_out oc], which flushes buffered output to the socket then closes the socket. The [ic] channel must not be closed and will be collected by the GC eventually. TGGUMM@@@@@@@m@@@h@@@@@@I4out_channel_of_descrakM MlM M"@б@г 㠐*file_descrvM M%wM M/@@ @@@ 3xwwxxxxx@b]8@A@@г +out_channelM M3M M>@@ @@@ @@@@@ @@@M M  @  Create an output channel writing on the given descriptor. The channel is initially in binary mode; use [set_binary_mode_out oc false] if text mode is desired. Text mode is supported only if the descriptor refers to a file or pipe, but is not supported if it refers to a socket. On Windows: {!Stdlib.set_binary_mode_out} always fails on channels created with this function. Beware that output channels are buffered, so you may have to call {!Stdlib.flush} to ensure that all data has been sent to the descriptor. Channels also keep a copy of the current position in the file. Closing the channel [oc] returned by [out_channel_of_descr fd] using [close_out oc] also closes the underlying descriptor [fd]. It is incorrect to close both the channel [ic] and the descriptor [fd]. See {!Unix.in_channel_of_descr} for a discussion of the closing protocol when several channels are created on the same descriptor. M?M?PQ@@@@@@@@@@@@@@@@13descr_of_in_channelbQQQQ@б@гG*in_channelQQQQ'@@ @@@ 3@J_8@A@@г ;*file_descrQQ+QQ5@@ @@@ @@@@@ @@@QQ @= : Return the descriptor corresponding to an input channel. Q6Q6Q6Qu@@@@@@@@@@M@@@@@@14descr_of_out_channelcQwQ{QwQ@б@г+out_channel QwQ QwQ@@ @@@ 3        @J_8@A@@г *file_descr QwQ QwQ@@ @@@ @@@@@ @@@ "QwQw @ ; Return the descriptor corresponding to an output channel.  /QQ 0QQ@@@@@@@ H@@@ C@@@@@@1 Q P< {1 Seeking and truncating}  MQQ NQR@@@@@@3 L K K L L L L L@CX1@AA+,seek_commanddH ZRR [RR$@@;@@(SEEK_SETe@@ dR'R+ eR'R3@ɐ ; indicates positions relative to the beginning of the file  rR'R4 sR'Rt@@@@@@@ @(SEEK_CURf@@ {RuRw |RuR@ 6 indicates positions relative to the current position  RuR RuR@@@@@@@ @(SEEK_ENDg@@ RR RR@ 5 indicates positions relative to the end of the file  RR RS@@@@@@@ @@@A@@@@@ RR@ ! Positioning modes for {!lseek}.  SS SS,@@@@@@@A@ @@#WWUT@E@@@W ʐUT@TT@@@T@T@#PP RuRyN@?@@@Q. ېON@NN@@@N@N@#JJ RRH@9@@@K? 쐠IH@HH@@@H@H@@A@DJ CB@BB@@@B@B@@O`@%lseekh S/S3 S/S8@б@г s*file_descr!S/S;!S/SE@@ @@@ 3!!!!!!!!@@A@@б@г ꠐ#int!S/SI!S/SL@@ @@@ @@б@г̠,seek_command!&S/SP!'S/S\@@ @@@  @@г!#int!3S/S`!4S/Sc@@ @@@ -@@@@@ 0@@@%@@ 3( @@@9@@ 6<@@@!DS/S/@ w Set the current position for a file descriptor, and return the resulting offset (from the beginning of the file). !QSdSd!RSS@@@@@@@!j@@!@!e@@@@@@U(truncatei!hSS!iSS@б@г!=&string!sSS!tSS@@ @@@ 3!u!t!t!u!u!u!u!u@n8@A@@б@г!W#int!SS!SS@@ @@@ @@г!>$unit!ST!ST@@ @@@ @@@@@ !@@@'@@ $* @@@!SS@  - Truncates the named file to the given size. !TT!TT9@@@@@@@!@@@ !@@@@@@C)ftruncatej!T;T?!T;TH@б@г ;*file_descr!T;TK!T;TU@@ @@@ 3!!!!!!!!@\q8@A@@б@г!#int!T;TY!T;T\@@ @@@ @@г!$unit!T;T`!T;Td@@ @@@ @@@@@ !@@@'@@ $* @@@!T;T;@ ^ P Truncates the file corresponding to the given descriptor to the given size. "TeTe"TT@@@@@@@" @@@ n"@@@@@@C")"(1 {1 File status} "%TT"&TT@@@@@@3"$"#"#"$"$"$"$"$@Uj1@AA+)file_kindkI"2 TT"3 TT@@;@@%S_REGl@@"< TT"= TT@ . Regular file "J TU"K TU@@@@@@@"c@%S_DIRm@@"S UU"T UU$@ + Directory "a UU;"b UUK@@@@@@@"z@%S_CHRn@@"j ULUN"k ULUU@ ϐ2 Character device "x ULUl"y ULU@@@@@@@"@%S_BLKo@@"UU"UU@ 搠. Block device "UU"UU@@@@@@@"@%S_LNKp@@"UU"UU@ / Symbolic link "UU"UU@@@@@@@"@&S_FIFOq@@"UU"UU@!, Named pipe "UV "UV@@@@@@@"@&S_SOCKr@@"VV!"VV)@!+( Socket "VV?"VVL@@@@@@@"@@@A@@@@@" TT@@A@"@@#@@@@!C"𐠠@@@@@@#" UU@@@@!T#@@@@@@## ULUP@@@@!e#@@@@@@##UU@@@@!v##@@@@@@##"UU@{@@@!#4@@@@@@##3UU@u@@@!#E@@@@@@##DVV#~@o@@@!#V~@~~@@@~@~@@A@z@@*z@A+%statssJ#[VNVS#\VNVX@@;@@&st_devt@@#=@@@ #hV[V_#iV[Vl@!͐/ Device number #vV[V{#wV[V@@@@@@@#@&st_inou@@#W@@@ #VV#VV@!琠. Inode number #VV#VV@@@@@@@#@'st_kindv@@l@@@ #VV#VV@"2 Kind of the file #VV#VV@@@@@@@#@'st_permw@@ @@@ #VW#VW@"/ Access rights #VW#VW0@@@@@@@#@(st_nlinkx@@#@@@ #W1W5#W1WD@"51 Number of links #W1WQ#W1Wg@@@@@@@#@&st_uidy@@#@@@ #WhWl#WhWy@"O6 User id of the owner #WhW#WhW@@@@@@@$@&st_gidz@@#@@@ $WW$WW@"i> Group ID of the file's group $WW$WW@@@@@@@$+@'st_rdev{@@#@@@ $WW$WW@"= Device ID (if special file) $,WX$-WX*@@@@@@@$E@'st_size|@@$ @@@ $8X+X/$9X+X=@"/ Size in bytes $FX+XK$GX+X_@@@@@@@$_@(st_atime}@@$@@@ $RX`Xd$SX`Xu@"2 Last access time $`X`X$aX`X@@@@@@@$y@(st_mtime~@@$0@@@ $lXX$mXX@"ѐ8 Last modification time $zXX${XX@@@@@@@$@(st_ctime@@$J@@@ $XX$XX@"될9 Last status change time $XX$XY@@@@@@@$@@@A@@@@@$VNVN$ YY@" 0 The information returned by the {!stat} calls. $!YY$!YYN@@@@@@@@@$@@#KKF$V[Ve@7@@Ш@гN#int$V[Vh$V[Vk@@V3$$$$$$$$@e;@@@A@@@@@'$@@@A@@^@@ @Z#$$ѐXW@WW@@@W@W@#SSN$VV@?@@Ш@гV#int$VV$VV@@^"@@a@@ %@]#A$[Z@ZZ@@@Z@Z@#VVQ$VV@B@@Ш@гY)file_kind$VV$VV@@a?@@d@@ B@`#^% ^]@]]@@@]@]@#YYT% VW@E@@Ш@г\)file_perm%VW %VW@@d\@@g@@ _@c#{%(a`@``@@@`@`@#\\W%'W1W=@H@@Ш@г_#int%0W1W@%1W1WC@@gy@@j@@ |@f#%Edc@cc@@@c@c@#__Z%DWhWr@K@@Ш@гb#int%MWhWu%NWhWx@@j@@m@@ @i#%bgf@ff@@@f@f@#bb]%aWW@N@@Ш@гe#int%jWW%kWW@@m@@p@@ @l#%ji@ii@@@i@i@#ee`%~WW@Q@@Ш@гh#int%WW%WW@@pа@@s@@ @o#%ml@ll@@@l@l@#hhc%X+X6@T@@Ш@гk#int%X+X9%X+X<@@s@@v@@ @r$ %po@oo@@@o@o@#kkf%X`Xl@W@@Ш@гn%float%X`Xo%X`Xt@@v @@y@@  @u$)%֐sr@rr@@@r@r@#nni%XX@Z@@Ш@гq%float%XX%XX@@y'@@|@@ *@x$F%󐠠vu@uu@@@u@u@#qql%XX@]@@Ш@гt%float%XX%XX@@|D@@@@ G@{$c&yx@xx@@@x@x@@A@t$n&rq@qq@@@q@q@@3&&&&&&&&@\@A@$stat& #YPYT&!#YPYX@б@г%&string&+#YPY[&,#YPYa@@ @@@ =3&-&,&,&-&-&-&-&-@w@A@@гߠ%stats&:#YPYe&;#YPYj@@ @@@ >@@@@@ ?@@@&E#YPYP @$ , Return the information for the named file. &R$YkYk&S$YkY@@@@@@@&k@@@$&f@@@@@@1%lstat&i&YY&j&YY@б@г&>&string&t&YY&u&YY@@ @@@ @3&v&u&u&v&v&v&v&v@J_8@A@@г(%stats&&YY&&YY@@ @@@ A@@@@@ B@@@&&YY @$򐠠 j Same as {!stat}, but in case the file is a symbolic link, return the information for the link itself. &'YY&(YZ)@@@@@@@&@@@%&@@@@@@1%fstat&*Z+Z/&*Z+Z4@б@г**file_descr&*Z+Z7&*Z+ZA@@ @@@ C3&&&&&&&&@J_8@A@@гq%stats&*Z+ZE&*Z+ZJ@@ @@@ D@@@@@ E@@@&*Z+Z+ @%; N Return the information for the file associated with the given descriptor. &+ZKZK&,ZZ@@@@@@@&@@@%K&@@@@@@1&isatty&.ZZ&.ZZ@б@гs*file_descr'.ZZ'.ZZ@@ @@@ F3''''''''@J_8@A@@г&Ӡ$bool'.ZZ'.ZZ@@ @@@ G@@@@@ H@@@' .ZZ @% j Return [true] if the given file descriptor refers to a terminal or console window, [false] otherwise. '-/ZZ'.0[[/@@@@@@@'F@@@%'A@@@@@@1'O'N $ {1 File operations on large files} 'K2[1[1'L2[1[Z@@@@@@3'J'I'I'J'J'J'J'J@CX1@A)LargeFileK'Y4[\[c'Z4[\[l@'r@@Б%lseek'g6[u[}'h6[u[@б@гߠ*file_descr'r6[u['s6[u[@@ @@@ I3't's's't't't't't@*@A@@б@г& %int64'6[u['6[u[@@ @@@ J@@б@г7,seek_command'6[u['6[u[@@ @@@ K@@г&ޠ%int64'6[u['6[u[@@ @@@ L,@@@@@ M/@@@%@@ N2( @@@8@@ O5;@@@'6[u[y@&. See [lseek]. '7[['7[[@@@@@@@'@@!@&#'А@@@@@@T(truncate'9[['9[[@б@г'&string'9[['9[[@@ @@@ P3''''''''@8@A@@б@г'/%int64'9[['9[[@@ @@@ Q@@г'$unit'9[['9[[@@ @@@ R@@@@@ S!@@@'@@ T$* @@@( 9[[@&n1 See [truncate]. (:[[(:[\@@@@@@@(0@@@&~(+@@@@@@C)ftruncate(.<\\(/<\\#@б@г*file_descr(9<\\&(:<\\0@@ @@@ U3(;(:(:(;(;(;(;(;@\q8@A@@б@г'%int64(J<\\4(K<\\9@@ @@@ V@@г($unit(W<\\=(X<\\A@@ @@@ W@@@@@ X!@@@'@@ Y$* @@@(e<\\@&ɐ2 See [ftruncate]. (r=\B\F(s=\B\]@@@@@@@(@@@&(@@@@@@CA+%statsL(?\_\h(?\_\m@@;@@&st_dev@@(l@@@ Z(@\p\x(@\p\@&/ Device number (@\p\(@\p\@@@@@@@(@&st_ino@@(@@@ ](A\\(A\\@'. Inode number (A\\(A\\@@@@@@@(@'st_kind@@@@@ `(B\\(B\\@'02 Kind of the file (B\](B\]@@@@@@@(@'st_perm@@@@@ c(C]]%(C]]9@'J/ Access rights (C]]A(C]]U@@@@@@@) @(st_nlink@@(@@@ f(D]V]^)D]V]m@'d1 Number of links ) D]V]z)D]V]@@@@@@@)&@&st_uid@@(@@@ i)E]])E]]@'~6 User id of the owner )'E]])(E]]@@@@@@@)@@&st_gid@@)@@@ l)3F]])4F]]@'> Group ID of the file's group )AF]])BF]^@@@@@@@)Z@'st_rdev@@)"@@@ o)MG^^!)NG^^/@'= Device ID (if special file) )[G^^=)\G^^_@@@@@@@)t@'st_size@@(@@@ r)gH^`^h)hH^`^x@'̐/ Size in bytes )uH^`^)vH^`^@@@@@@@)@(st_atime@@)E@@@ u)I^^)I^^@'搠2 Last access time )I^^)I^^@@@@@@@)@(st_mtime@@)_@@@ x)J^^)J^^@(8 Last modification time )J^^)J^_@@@@@@@)@(st_ctime@@)y@@@ {)K__)K__0@(9 Last status change time )K__;)K__Y@@@@@@@)@@@A@@@@@)?\_\c)L_Z_a@@@@)@@#==8)@\p\~@)@@Ш@г@#int)@\p\)@\p\@@H3))))))))@zW;@@@A@@@@@@@@@A@@P@@ [@L(E)򐠠JI@II@@@I@I@#EE@)A\\@1@@Ш@гH#int)A\\)A\\@@P"@@S@@ ^%@O(b*ML@LL@@@L@L@#HHC*B\\@4@@Ш@гK)file_kind*B\\*B\\@@S?@@V@@ aB@R(*,PO@OO@@@O@O@#KKF*+C]],@7@@Ш@гN)file_perm*4C]]/*5C]]8@@V\@@Y@@ d_@U(*ISR@RR@@@R@R@#NNI*HD]V]f@:@@Ш@гQ#int*QD]V]i*RD]V]l@@Yy@@\@@ g|@X(*fVU@UU@@@U@U@#QQL*eE]]@=@@Ш@гT#int*nE]]*oE]]@@\@@_@@ j@[(*YX@XX@@@X@X@#TTO*F]]@@@@Ш@гW#int*F]]*F]]@@_@@b@@ m@^(*\[@[[@@@[@[@#WWR*G^^(@C@@Ш@гZ#int*G^^+*G^^.@@bа@@e@@ p@a)*_^@^^@@@^@^@#ZZU*H^`^o@F@@Ш@г]%int64*H^`^r*H^`^w@@e@@h@@ s@d)-*ڐba@aa@@@a@a@#]]X*I^^@I@@Ш@г`%float*I^^*I^^@@h @@k@@ v @g)J*ed@dd@@@d@d@#``[*J^^@L@@Ш@гc%float*J^^+J^^@@k'@@n@@ y*@j)g+hg@gg@@@g@g@#cc^+K__'@O@@Ш@гf%float+K__*+K__/@@nD@@q@@ |G@m)+1kj@jj@@@j@j@@A@f@@3+)+(+(+)+)+)+)+)@Q@Agf@$stat+6M_b_j+7M_b_n@б@г+ &string+AM_b_q+BM_b_w@@ @@@ 3+C+B+B+C+C+C+C+C@l@A@@гƠ%stats+PM_b_{+QM_b_@@ @@@ @@@@@ @@@+[M_b_f @@+s@@ @@%lstat+fN__+gN__@б@г+;&string+qN__+rN__@@ @@@ 3+s+r+r+s+s+s+s+s@1F@A@@г%stats+N__+N__@@ @@@ @@@@@ @@@+N__ @@+@@ @@%fstat+O__+O__@б@г*file_descr+O__+O__@@ @@@ 3++++++++@1F@A@@г&%stats+O__+O__@@ @@@ @@@@@ @@@+O__ @@+@@ @@@]@@a@@:A@o@hA@:@@3++++++++@'<@A+5[o[q+P__@@*5+␠  File operations on large files. This sub-module provides 64-bit variants of the functions {!lseek} (for positioning a file descriptor), {!truncate} and {!ftruncate} (for changing the size of a file), and {!stat}, {!lstat} and {!fstat} (for obtaining information on files). These alternate functions represent positions and sizes by 64-bit integers (type [int64]) instead of regular integers (type [int]), thus allowing operating on files whose sizes are greater than [max_int]. +Q__+Zaa@@@@@@@+4[\[\@@++? {1 Mapping files into memory} +\aa+\aa@@@@@@3++++++++@@N@.@@{uA@@|@uN@@*j43@33@@@3@3@0@A(map_file,^aa,^aa@б@г*file_descr,$_aa,%_ab@@ @@@ 4@@б#posг+u%int64,5`b b4,6`b b9@@ @@@ E@@б@г*(Bigarray$kind&Stdlib,Lab=bH,Mab=bN@ ,Pab=bO,Qab=bW@@,Uab=bX,Vab=b\@ @А!a@ M@ l,bab=b@,cab=bB@@А!b@ M@ x,nab=bD,oab=bF@@@3 @@@ ,vab=b?!@@б@г+ (Bigarray&layout&Stdlib,bb`be,bb`bk@ ,bb`bl,bb`bt@@,bb`bu,bb`b{@ @А!c@ M@ ,bb`bb,bb`bd@@@' @@@ @@б@г,l$bool,bb`b,bb`b@@ @@@ @@б@г,C%array,bb`b,bb`b@г,#int,bb`b,bb`b@@ @@@ װ@@@@@@ ܰ @@г+c(Bigarray(Genarray!t&Stdlib,cbb,cbb@,cbb,cbb@@,cbb,cbb@ @,cbb,cbb@@А!a,cbb,cbb@@А!b -cbb-cbb@@А!cp- cbb- cbb@@@9x@@@ -cbb@@@H @@  O"@@@h@@ #k%@@@{@@ &~(@@@@@ )+@@,@@@  @@ 1-'`b b 4@@@ @@ 57@@@--^aa:@+  Memory mapping of a file as a Bigarray. [map_file fd kind layout shared dims] returns a Bigarray of kind [kind], layout [layout], and dimensions as specified in [dims]. The data contained in this Bigarray are the contents of the file referred to by the file descriptor [fd] (as opened previously with {!openfile}, for example). The optional [pos] parameter is the byte offset in the file of the data being mapped; it defaults to 0 (map from the beginning of the file). If [shared] is [true], all modifications performed on the array are reflected in the file. This requires that [fd] be opened with write permissions. If [shared] is [false], modifications performed on the array are done in memory only, using copy-on-write of the modified pages; the underlying file is not affected. {!map_file} is much more efficient than reading the whole file in a Bigarray, modifying that Bigarray, and writing it afterwards. To adjust automatically the dimensions of the Bigarray to the actual size of the file, the major dimension (that is, the first dimension for an array with C layout, and the last dimension for an array with Fortran layout) can be given as [-1]. {!map_file} then determines the major dimension from the size of the file. The file must contain an integral number of sub-arrays as determined by the non-major dimensions, otherwise [Failure] is raised. If all dimensions of the Bigarray are given, the file size is matched against the size of the Bigarray. If the file is larger than the Bigarray, only the initial portion of the file is mapped to the Bigarray. If the file is smaller than the big array, the file is automatically grown to the size of the Bigarray. This requires write permissions on [fd]. Array accesses are bounds-checked, but the bounds are determined by the initial call to [map_file]. Therefore, you should make sure no other process modifies the mapped file while you're accessing it, or a SIGBUS signal may be raised. This happens, for instance, if the file is shrunk. [Invalid_argument] or [Failure] may be raised in cases where argument validation fails. @since 4.06 -:dbb-;kFkV@@@@@@@-S@@J@+-N@@@@@@T-\-[> {1 Operations on file names} -XkXkX-YkXk{@@@@@@3-W-V-V-W-W-W-W-W@fG1@A&unlink-dk~k-ek~k@б@г-9&string-ok~k-pk~k@@ @@@ @@г-)$unit-|k~k-}k~k@@ @@@ '@@@@@ *@@@-k~k~ @+될 Removes the named file. If the named file is a directory, raises: {ul {- [EPERM] on POSIX compliant system} {- [EISDIR] on Linux >= 2.1.132} {- [EACCESS] on Windows}} -kk-lZl\@@@@@@@-@@@+-@@@@@@I&rename-l^lb-l^lh@б@г-&string-l^lk-l^lq@@ @@@ 3--------@b]8@A@@б@г-&string-l^lu-l^l{@@ @@@ @@г-$unit-l^l-l^l@@ @@@ @@@@@ !@@@'@@ $* @@@-l^l^@,F Z [rename src dst] changes the name of a file from [src] to [dst], moving it between directories if needed. If [dst] already exists, its contents will be replaced with those of [src]. Depending on the operating system, the metadata (permissions, owner, etc) of [dst] can either be preserved or be replaced by those of [src]. -ll-mm@@@@@@@.@@@,V.@@@@@@C$link.mm.mm@б&followг-Ѡ$bool.mn.mn!@@ @@@ 3........@^s:@A@@б@г-&string.$n%n0.%n%n6@@ @@@ @@б@г-&string.3n%n:.4n%n@@@ @@@  @@г-$unit.@n%nD.An%nH@@ @@@ -@@@@@ 0@@@%@@ 3( @@D-<@@@  @@ :.Smm@@ @.Vmm@, 6 [link ?follow src dst] creates a hard link named [dst] to the file named [src]. @param follow indicates whether a [src] symlink is followed or a hardlink to [src] itself will be created. On {e Unix} systems this is done using the [linkat(2)] function. If [?follow] is not provided, then the [link(2)] function is used whose behaviour is OS-dependent, but more widely available. @raise ENOSYS On {e Unix} if [~follow:_] is requested, but linkat is unavailable. @raise ENOSYS On {e Windows} if [~follow:false] is requested. .cnInI.dpAp@@@@@@@.|@@&@,.w@@@@@@Z(realpath.zpp.{pp@б@г.O&string.pp.pp@@ @@@ 3........@s8@A@@г.^&string.pp.pp@@ @@@ @@@@@ @@@.pp @- [realpath p] is an absolute pathname for [p] obtained by resolving all extra [/] characters, relative path segments and symbolic links. @since 4.13 .pp.q7qI@@@@@@@.@@@-.@@@@@@1..͐ $ {1 File permissions and ownership} .qKqK.qKqt@@@@@@3........@CX1@AA+1access_permissionM.qwq|.qwq@@;@@$R_OK@@.qq.qq@-F1 Read permission .qq.qq@@@@@@@/@$W_OK@@.qq.qq@-]2 Write permission /qq/qq@@@@@@@/@$X_OK@@/qr/qr@-t6 Execution permission /qr/qr:@@@@@@@/6@$F_OK@@/&r;r=/'r;rC@-- File exists /4r;r[/5r;rm@@@@@@@/M@@@A@@@@@/8qwqw@-? Flags for the {!access} call. /Ernrn/Frnr@@@@@@@A@/^@@#nnlk@\@@@n-/^lk@kk@@@k@k@#gg/]qqe@V@@@h-/ofe@ee@@@e@e@#aa/nqr_@P@@@b-/`_@__@@@_@_@#[[/r;r?Y@J@@@\-/ZY@YY@@@Y@Y@@A@U-/TS@SS@@@S@S@@˰`q@%chmod/rr/rr@б@г/u&string/rr/rr@@ @@@ 3////////@@A@@б@г֠)file_perm/rr/rr@@ @@@ @@г/v$unit/rr/rr@@ @@@ @@@@@ !@@@'@@ $* @@@/rr@.; + Change the permissions of the named file. /rr/rr@@@@@@@/@@@.K/@@@@@@C&fchmod/rr/rr@б@гs*file_descr0rr0rs@@ @@@ 300000000@\q8@A@@б@г1)file_perm0rs 0rs@@ @@@ @@г/Ѡ$unit0$rs0%rs@@ @@@ @@@@@ !@@@'@@ $* @@@02rr@. S Change the permissions of an opened file. @raise Invalid_argument on Windows 0?ss0@sKst@@@@@@@0X@@@.0S@@@@@@C%chown0Vsvsz0Wsvs@б@г0+&string0asvs0bsvs@@ @@@ 30c0b0b0c0c0c0c0c@\q8@A@@б@г0E#int0rsvs0ssvs@@ @@@ @@б@г0T#int0svs0svs@@ @@@  @@г0;$unit0svs0svs@@ @@@ -@@@@@ 0@@@%@@ 3( @@@9@@ 6<@@@0svsv@/ _ Change the owner uid and owner gid of the named file. @raise Invalid_argument on Windows 0ss0st@@@@@@@0@@!@/0@@@@@@U&fchown0tt 0tt@б@г;*file_descr0tt0tt@@ @@@ 300000000@n8@A@@б@г0#int0tt 0tt#@@ @@@ @@б@г0#int0tt'0tt*@@ @@@  @@г0$unit0tt.0tt2@@ @@@ -@@@@@ 0@@@%@@ 3( @@@9@@ 6<@@@1 tt@/p _ Change the owner uid and owner gid of an opened file. @raise Invalid_argument on Windows 1t3t31tnt@@@@@@@12@@!@/1-@@@@@@U%umask10tt11tt@б@гU)file_perm1;tt1<tt@@ @@@ 31=1<1<1=1=1=1=1=@n8@A@@гd)file_perm1Jtt1Ktt@@ @@@ @@@@@ @@@1Utt @/ v Set the process's file mode creation mask, and return the previous mask. @raise Invalid_argument on Windows 1btt1cuu7@@@@@@@1{@@@/1v@@@@@@1&access1yu9u=1zu9uC@б@г1N&string1u9uF1u9uL@@ @@@ 311111111@J_8@A@@б@г1$list1u9ub1u9uf@гȠ1access_permission1u9uP1u9ua@@ @@@ @@@@@@   @@г1^$unit1u9uj1u9un@@ @@@ -@@@@@ 0@@@6@@ 39 @@@1u9u9@0# Check that the process has the given permissions over the named file. On Windows: execute permission [X_OK] cannot be tested, just tests for read permission instead. @raise Unix_error otherwise. 1uouo1vAvF@@@@@@@1@@@031@@@@@@R11퐠 $ {1 Operations on file descriptors} 1vIvI1vIvr@@@@@@311111111@dy1@A#dup1vuvy1vuv|@б'cloexecг1$bool2vuv2vuv@@ @@@ @@б@г*file_descr2vv2vv@@ @@@+@@г*file_descr2vv2 vv@@ @@@8@@@@@;@@0 (@@@ @@B2/vuv@@ @22vuvu@0 Return a new file descriptor referencing the same file as the given descriptor. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. 2?vv2@wnw@@@@@@@2X@@#@02S@@@@@@b$dup22Vww2Www@б'cloexecг2!$bool2cww2dww@@ @@@32e2d2d2e2e2e2e2e@}x:@A@@б@г᠐*file_descr2tww2uww@@ @@@@@б@г*file_descr2ww2ww@@ @@@ @@г2=$unit2ww2ww@@ @@@-@@@@@ 0@@@%@@ 3( @@D}<@@@  @@ :2ww@@ @2ww@1 [dup2 src dst] duplicates [src] to [dst], closing [dst] if already opened. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. 2ww2xx@@@@@@@2@@&@12ǐ@@@@@@Z,set_nonblock2xx2xx@б@гB*file_descr2xx2xx@@ @@@ 322222222@s8@A@@г2$unit2xx2xx@@ @@@@@@@@@@@2xx @1S c Set the ``non-blocking'' flag on the given descriptor. When the non-blocking flag is set, reading on a descriptor on which there is temporarily no data available raises the [EAGAIN] or [EWOULDBLOCK] error instead of blocking; writing on a descriptor on which there is temporarily no room for writing also raises [EAGAIN] or [EWOULDBLOCK]. 2xx2yz.@@@@@@@3@@@1c3@@@@@@1.clear_nonblock3z0z43z0zB@б@г*file_descr3z0zE3z0zO@@ @@@33 333 3 3 3 3 @J_8@A@@г2ڠ$unit3-z0zS3.z0zW@@ @@@@@@@@@@@38z0z0 @1 Q Clear the ``non-blocking'' flag on the given descriptor. See {!set_nonblock}.3EzXzX3Fzz@@@@@@@3^@@@13Y@@@@@@11set_close_on_exec3\zz3]zz@б@гԠ*file_descr3gzz3hzz@@ @@@33i3h3h3i3i3i3i3i@J_8@A@@г3#$unit3vzz3wzz@@ @@@@@@@@@@@3zz @1吠 { Set the ``close-on-exec'' flag on the given descriptor. A descriptor with the close-on-exec flag is automatically closed when the current process starts another program with one of the [exec], [create_process] and [open_process] functions. It is often a security hole to leak file descriptors opened on, say, a private file to an external program: the program, then, gets access to the private file and can do bad things with it. Hence, it is highly recommended to set all file descriptors ``close-on-exec'', except in the very few cases where a file descriptor actually needs to be transmitted to another program. The best way to set a file descriptor ``close-on-exec'' is to create it in this state. To this end, the [openfile] function has [O_CLOEXEC] and [O_KEEPEXEC] flags to enforce ``close-on-exec'' mode or ``keep-on-exec'' mode, respectively. All other operations in the Unix module that create file descriptors have an optional argument [?cloexec:bool] to indicate whether the file descriptor should be created in ``close-on-exec'' mode (by writing [~cloexec:true]) or in ``keep-on-exec'' mode (by writing [~cloexec:false]). For historical reasons, the default file descriptor creation mode is ``keep-on-exec'', if no [cloexec] optional argument is given. This is not a safe default, hence it is highly recommended to pass explicit [cloexec] arguments to operations that create file descriptors. The [cloexec] optional arguments and the [O_KEEPEXEC] flag were introduced in OCaml 4.05. Earlier, the common practice was to create file descriptors in the default, ``keep-on-exec'' mode, then call [set_close_on_exec] on those freshly-created file descriptors. This is not as safe as creating the file descriptor in ``close-on-exec'' mode because, in multithreaded programs, a window of vulnerability exists between the time when the file descriptor is created and the time [set_close_on_exec] completes. If another thread spawns another program during this window, the descriptor will leak, as it is still in the ``keep-on-exec'' mode. Regarding the atomicity guarantees given by [~cloexec:true] or by the use of the [O_CLOEXEC] flag: on all platforms it is guaranteed that a concurrently-executing Caml thread cannot leak the descriptor by starting a new process. On Linux, this guarantee extends to concurrently-executing C threads. As of Feb 2017, other operating systems lack the necessary system calls and still expose a window of vulnerability during which a C thread can see the newly-created file descriptor in ``keep-on-exec'' mode. 3zz34X[@@@@@@@3@@@13@@@@@@13clear_close_on_exec36]a36]t@б@г*file_descr36]w36]@@ @@@333333333@J_8@A@@г3l$unit36]36]@@ @@@@@@@@@@@36]] @2. W Clear the ``close-on-exec'' flag on the given descriptor. See {!set_close_on_exec}.3738@@@@@@@3@@@2>3될@@@@@@1331 {1 Directories} 3;3;@@@@@@333333333@CX1@A%mkdir4>4> @б@г3֠&string4 >4 >@@ @@@@@б@г5)file_perm4>4>!@@ @@@)@@г3ՠ$unit4(>%4)>)@@ @@@6@@@@@9@@@%@@<( @@@46>@2 ? Create a directory with the given permissions (see {!umask}). 4C?**4D?*n@@@@@@@4\@@@24W@@@@@@[%rmdir4ZApt4[Apy@б@г4/&string4eAp|4fAp@@ @@@34g4f4f4g4g4g4g4g@to8@A@@г4!$unit4tAp4uAp@@ @@@@@@@@ @@@4App @2㐠< Remove an empty directory. 4B4B@@@@@@@4@@@24@@@@@@1%chdir 4D4D@б@г4x&string4D4D@@ @@@!344444444@J_8@A@@г4j$unit4D4D@@ @@@"@@@@@#@@@4D @3, ' Change the process working directory. 4E4E@@@@@@@4@@@3<4鐠@@@@@@1&getcwdà4G4G@б@г4$unit4G4G@@ @@@$344444444@J_8@A@@г4Р&string5G 5G@@ @@@%@@@@@&@@@5G @3u 3 Return the name of the current working directory. 5H5HK@@@@@@@57@@@352@@@@@@1&chrootĠ55JMQ56JMW@б@г5 &string5@JMZ5AJM`@@ @@@'35B5A5A5B5B5B5B5B@J_8@A@@г4$unit5OJMd5PJMh@@ @@@(@@@@@)@@@5ZJMM @3 L Change the process root directory. @raise Invalid_argument on Windows 5gKii5hM@@@@@@@5@@@35{@@@@@@1A+*dir_handleN5O5O@@;@@A@@@@@5O@3琠 2 The type of descriptors over opened directories. 5P5P@@@@@@@@@5@@@A@35@@@@@@@355555555@ZoH@A!@'opendirƠ5R 5R@б@г5~&string5R5R@@ @@@*355555555@@:@A@@гD*dir_handle5R5R'@@ @@@+@@@@@,@@@5R @42 " Open a descriptor on a directory 5S((5S(O@@@@@@@5@@@4B5@@@@@@1'readdirǠ5UQU5UQ\@б@г~*dir_handle5UQ_5UQi@@ @@@-355555555@J_8@A@@г5֠&string6 UQm6 UQs@@ @@@.@@@@@/@@@6UQQ @4{ m Return the next entry in a directory. @raise End_of_file when the end of the directory has been reached. 6$Vtt6%W@@@@@@@6=@@@468@@@@@@1)rewinddirȠ6;Y6<Y@б@гǠ*dir_handle6FY6GY@@ @@@036H6G6G6H6H6H6H6H@J_8@A@@г6$unit6UY6VY @@ @@@1@@@@@2@@@6`Y @4Đ = Reposition the descriptor to the beginning of the directory 6mZ  6nZ M@@@@@@@6@@@46@@@@@@1(closedirɠ6\OS6\O[@б@г*dir_handle6\O^6\Oh@@ @@@3366666666@J_8@A@@г6K$unit6\Ol6\Op@@ @@@4@@@@@5@@@6\OO @5 ? Close a directory descriptor. 6]qq6]q@@@@@@@6@@@56ʐ@@@@@@166א< {1 Pipes and redirections} 6a6a@@@@@@366666666@CX1@A$pipeʠ6d6d@б'cloexecг6$bool6d6d@@ @@@6@@б@г6$unit6e 6e @@ @@@7+@@В@г!z*file_descr7 e7e@@ @@@8<@@@г!*file_descr7e7e(@@ @@@9K@@@@@ @@:R @@@- @@;U0@@J B@@@< @@=\73d@@ @76d@5  Create a pipe. The first component of the result is opened for reading, that's the exit to the pipe. The second component is opened for writing, that's the entrance to the pipe. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. 7Cf))7Dj$<@@@@@@@7\@@*@57W@@@@@@|&mkfifoˠ7Zl>B7[l>H@б@г7/&string7el>K7fl>Q@@ @@@>37g7f7f7g7g7g7g7g@8@A@@б@г)file_perm7vl>U7wl>^@@ @@@?@@г70$unit7l>b7l>f@@ @@@@@@@@@A!@@@'@@B$* @@@7l>>@5 g Create a named pipe with the given permissions (see {!umask}). @raise Invalid_argument on Windows 7mgg7o@@@@@@@7@@@67@@@@@@C77 3 {1 High-level process and redirection management} 7r7r@@@@@@377777777@Uj1@A.create_process̠7u7u#@б@г7&string7v&(7v&.@@ @@@C@@б@г7h%array7v&97v&>@г7&string7v&27v&8@@ @@@D3@@@@@@F8 @@б@г"m*file_descr8v&B8v&L@@ @@@GG@@б@г"|*file_descr8v&P8v&Z@@ @@@HV@@б@г"*file_descr8w^b8w^l@@ @@@Ie@@г7#int8+w^p8,w^s@@ @@@Jr@@@@@Ku@@@%@@Lx( @@@7@@M{:@@@J@@N~Q@@@j@@Om@@@8Bu@6 * [create_process prog args stdin stdout stderr] creates a new process that executes the program in file [prog], with arguments [args]. Note that the first argument, [args.(0)], is by convention the filename of the program being executed, just like [Sys.argv.(0)]. The pid of the new process is returned immediately; the new process executes concurrently with the current process. The standard input and outputs of the new process are connected to the descriptors [stdin], [stdout] and [stderr]. Passing e.g. {!Unix.stdout} for [stdout] prevents the redirection and causes the new process to have the same standard output as the current process. The executable file [prog] is searched in the path. The new process has the same environment as the current process. 8Oxtt8P@@@@@@@8h@@'@68c@@@@@@2create_process_env͠8f8g@б@г8;&string8q8r@@ @@@P38s8r8r8s8s8s8s8s@8@A@@б@г8%array88@г8V&string88@@ @@@Q@@@@@@S  @@б@г8&%array88@г8t&string88@@ @@@T9@@@@@@V> @@б@г#+*file_descr88@@ @@@WM@@б@г#:*file_descr88@@ @@@X\@@б@г#I*file_descr8 8@@ @@@Yk@@г8#int88@@ @@@Zx@@@@@[{@@@%@@\~( @@@7@@]:@@@J@@^Q@@@k@@_r@@@@@`@@@9@7g [create_process_env prog args env stdin stdout stderr] works as {!create_process}, except that the extra argument [env] specifies the environment passed to the program. 99@@@@@@@9)@@*@7w9$@@@@@@/open_process_inΠ9'9(@б@г8&string9293@@ @@@a39493939494949494@8@A@@г7*in_channel9A9B@@ @@@b@@@@@c@@@9L @7 } High-level pipe and process management. This function runs the given command in parallel with the program. The standard output of the command is redirected to a pipe, which can be read via the returned input channel. The command is interpreted by the shell [/bin/sh] (or [cmd.exe] on Windows), cf. {!system}. The {!Filename.quote_command} function can be used to quote the command and its arguments as appropriate for the shell being used. If the command does not need to be run through the shell, {!open_process_args_in} can be used as a more robust and more efficient alternative to {!open_process_in}. 9Y9ZJ@@@@@@@9r@@@79m@@@@@@10open_process_outϠ9p9q@б@г9E&string9{9|@@ @@@d39}9|9|9}9}9}9}9}@J_8@A@@г8+out_channel99@@ @@@e@@@@@f@@@9 @7  Same as {!open_process_in}, but redirect the standard input of the command to a pipe. Data written to the returned output channel is sent to the standard input of the command. Warning: writes on output channels are buffered, hence be careful to call {!Stdlib.flush} at the right times to ensure correct synchronization. If the command does not need to be run through the shell, {!open_process_args_out} can be used instead of {!open_process_out}. 99t@@@@@@@9@@@8 9@@@@@@1,open_processР99@б@г9&string99@@ @@@g399999999@J_8@A@@В@г8_*in_channel99@@ @@@h@@@г8n+out_channel99@@ @@@i"@@@@@ @@j) @@@/ @@k,2@@@9@8\  Same as {!open_process_out}, but redirects both the standard input and standard output of the command to pipes connected to the two returned channels. The input channel is connected to the output of the command, and the output channel to the input of the command. If the command does not need to be run through the shell, {!open_process_args} can be used instead of {!open_process}. ::H^@@@@@@@:@@"@8l:@@@@@@K1open_process_fullѠ:`d:`u@б@г9&string:'xz:(x@@ @@@l3:):(:(:):):):):)@dy8@A@@б@г9%array:8x:9x@г: &string:Bx:Cx@@ @@@m@@@@@@o  @@В@г8*in_channel:Xx:Yx@@ @@@p1@@@г8+out_channel:gx:hx@@ @@@q@@@@г8*in_channel:vx:wx@@ @@@rO@@@@&@@ @@sX-@@@? @@t[F@@@a@@u^d@@@:``@8񐠠  Similar to {!open_process}, but the second argument specifies the environment passed to the command. The result is a triple of channels connected respectively to the standard output, standard input, and standard error of the command. If the command does not need to be run through the shell, {!open_process_args_full} can be used instead of {!open_process_full}. ::#>@@@@@@@:@@'@9:@@@@@@}1open_process_argsҠ:@D:@U@б@г:&string:@X:@^@@ @@@v3::::::::@8@A@@б@г:S%array:@i:@n@г:&string:@b:@h@@ @@@w@@@@@@y  @@В@г9u*in_channel:@r:@|@@ @@@z1@@@г9+out_channel:@:@@@ @@@{@@@@@@ @@|G @@@. @@}J5@@@P@@~MS@@@;@@@9u  [open_process_args prog args] runs the program [prog] with arguments [args]. Note that the first argument, [args.(0)], is by convention the filename of the program being executed, just like [Sys.argv.(0)]. The new process executes concurrently with the current process. The standard input and output of the new process are redirected to pipes, which can be respectively read and written via the returned channels. The input channel is connected to the output of the program, and the output channel to the input of the program. Warning: writes on output channels are buffered, hence be careful to call {!Stdlib.flush} at the right times to ensure correct synchronization. The executable file [prog] is searched for in the path. This behaviour changed in 4.12; previously [prog] was looked up only in the current directory. The new process has the same environment as the current process. @since 4.08 ;;FX@@@@@@@;7@@%@9;2@@@@@@l4open_process_args_inӠ;5Z^;6Zr@б@г; &string;@Zu;AZ{@@ @@@3;B;A;A;B;B;B;B;B@8@A@@б@г:נ%array;QZ;RZ@г;%&string;[Z;\Z@@ @@@@@@@@@  @@г9*in_channel;mZ;nZ@@ @@@-@@@@@0@@@6@@39 @@@;{ZZ@9ߐ o Same as {!open_process_args}, but redirects only the standard output of the new process. @since 4.08 ;;@@@@@@@;@@@9;@@@@@@R5open_process_args_outԠ;;)@б@г;t&string;,;2@@ @@@3;;;;;;;;@k8@A@@б@г;A%array;=;B@г;&string;6;<@@ @@@@@@@@@  @@г:_+out_channel;F;Q@@ @@@-@@@@@0@@@6@@39 @@@;@:I n Same as {!open_process_args}, but redirects only the standard input of the new process. @since 4.08 ;RR;@@@@@@@< @@@:Y<@@@@@@R6open_process_args_fullՠ< < @б@г;ޠ&string<<@@ @@@3<<<<<<<<@k8@A@@б@г;%array<%<&@г;&string @@В@г:*in_channelP@@@@@@@<@@*@;<@@@@@@.process_in_pid֠<RV<Rd@б@г;R*in_channel<Rg<Rq@@ @@@3<<<<<<<<@8@A@@г<#int<Ru<Rx@@ @@@@@@@@@@@<RR @;H Return the pid of a process opened via {!open_process_args_in} or the pid of the shell opened via {!open_process_in}. @since 4.08 (4.12 in UnixLabels) <yy<@@@@@@@= @@@;X=@@@@@@1/process_out_pidנ= $=  3@б@г;+out_channel= 6= A@@ @@@3========@J_8@A@@г<#int=" E=# H@@ @@@@@@@@@@@=-   @; Return the pid of a process opened via {!open_process_args_out} or the pid of the shell opened via {!open_process_out}. @since 4.08 (4.12 in UnixLabels) =:II=;@@@@@@@=S@@@;=N@@@@@@1+process_pidؠ=Q=R@б@В@г;*in_channel=`=a@@ @@@3=b=a=a=b=b=b=b=b@Nc<@A@@@г;+out_channel=q=r@@ @@@@@@@@ @@ @@г=X#int= =#@@ @@@%@@@@@(.@@@= @; Return the pid of a process opened via {!open_process_args} or the pid of the shell opened via {!open_process_args}. @since 4.08 (4.12 in UnixLabels) =$$=@@@@@@@=@@@<=@@@@@@G0process_full_pid٠==@б@В@г @>@@@@@@@>*@@@%@@@@@@X0close_process_inڠ>(>)@б@г<*in_channel>3>4@@ @@@3>5>4>4>5>5>5>5>5@q8@A@@г..process_status>B>C@@ @@@@@@@@@@@>M @< Close channels opened by {!open_process_in}, wait for the associated command to terminate, and return its termination status. >Z>[Ow@@@@@@@>s@@@<>n@@@@@@11close_process_out۠>qy}>ry@б@г=+out_channel>|y>}y@@ @@@3>~>}>}>~>~>~>~>~@J_8@A@@г.預.process_status>y>y@@ @@@@@@@@@@@>yy @< Close channels opened by {!open_process_out}, wait for the associated command to terminate, and return its termination status. >>:@@@@@@@>@@@= >@@@@@@1-close_processܠ><@><M@б@В@г=Q*in_channel><P><Z@@ @@@3>>>>>>>>@Nc<@A@@@г=b+out_channel><]><h@@ @@@@@@@@ @@ @@г/L.process_status><l><z@@ @@@%@@@@@(.@@@><< @=] Close channels opened by {!open_process}, wait for the associated command to terminate, and return its termination status. ?{{? @@@@@@@?@@@=m?@@@@@@G2close_process_fullݠ? ? @б@В@г=*in_channel?, ?- )@@ @@@3?.?-?-?.?.?.?.?.@d}<@A@@@г=+out_channel?= ,?> 7@@ @@@@@@г=*in_channel?L :?M D@@ @@@ @@@@(@@ @@)/@@г/.process_status?b H?c V@@ @@@6@@@@@9?@@@?m  @=ѐ Close channels opened by {!open_process_full}, wait for the associated command to terminate, and return its termination status. ?z WW?{@@@@@@@?@@@=?@@@@@@X??4 {1 Symbolic links} ??@@@@@@3????????@j1@A'symlinkޠ?? @б&to_dirг?o$bool?=?A@@ @@@@@б@г?&string?ES?EY@@ @@@+@@б@г?&string?E]?Ec@@ @@@:@@г?$unit?Eg?Ek@@ @@@G@@@@@J@@@%@@M( @@Bɠ:@@@ @@T?@@ @?@>V  [symlink ?to_dir src dst] creates the file [dst] as a symbolic link to the file [src]. On Windows, [~to_dir] indicates if the symbolic link points to a directory or a file; if omitted, [symlink] examines [src] using [stat] and picks appropriately, if [src] does not exist then [false] is assumed (for this reason, it is recommended that the [~to_dir] parameter be specified in new code). On Unix, [~to_dir] is ignored. Windows symbolic links are available in Windows Vista onwards. There are some important differences between Windows symlinks and their POSIX counterparts. Windows symbolic links come in two flavours: directory and regular, which designate whether the symbolic link points to a directory or a file. The type must be correct - a directory symlink which actually points to a file cannot be selected with chdir and a file symlink which actually points to a directory cannot be read or written (note that Cygwin's emulation layer ignores this distinction). When symbolic links are created to existing targets, this distinction doesn't matter and [symlink] will automatically create the correct kind of symbolic link. The distinction matters when a symbolic link is created to a non-existent target. The other caveat is that by default symbolic links are a privileged operation. Administrators will always need to be running elevated (or with UAC disabled) and by default normal user accounts need to be granted the SeCreateSymbolicLinkPrivilege via Local Security Policy (secpol.msc) or via Active Directory. {!has_symlink} can be used to check that a process is able to create symbolic links. ?ll@4@@@@@@@@@@&@>f@@@@@@@t+has_symlinkߠ@6  @6 @б@г?Π$unit@!6 @"6 @@ @@@3@#@"@"@#@#@#@#@#@8@A@@г?$bool@06 #@16 '@@ @@@@@@@@@@@@;6   @> 2 Returns [true] if the user is able to create symbolic links. On Windows, this indicates that the user not only has the SeCreateSymbolicLinkPrivilege but is also running elevated, if necessary. On other platforms, this is simply indicates that the symlink system call is available. @since 4.03 @H7((@I;N_@@@@@@@@a@@@>@\@@@@@@1(readlink@_=ae@`=am@б@г@4&string@j=ap@k=av@@ @@@3@l@k@k@l@l@l@l@l@J_8@A@@г@C&string@y=az@z=a@@ @@@@@@@@@@@@=aa @>萠 ' Read the contents of a symbolic link. @>@>@@@@@@@@@@@>@@@@@@@1@@- {1 Polling} @A@A@@@@@@3@@@@@@@@@CX1@A&select@D@D@б@г@B$list@E@E@г+=*file_descr@E@E@@ @@@$@@@@@@) @@б@г@`$list@E@E@г+[*file_descr@E@E@@ @@@B@@@@@@G @@б@г@~$listAEAE @г+y*file_descrA EA E@@ @@@`@@@@@@e @@б@г@⠐%floatA F A!F @@ @@@t@@В@г@$listA1F %A2F )@г+*file_descrA;F A<F $@@ @@@@@@@@@ @@@г@ˠ$listAOF 7APF ;@г+Ơ*file_descrAYF ,AZF 6@@ @@@@@@@@@ @@@г@預$listAmF IAnF M@г+䠐*file_descrAwF >AxF H@@ @@@˰@@@@@@а @@@@E@)@ @@ٰP@@@k @@ܰn @@@~@@߰#@@@@@&@@@@@)@@@AD,@? , Wait until some input/output operations become possible on some channels. The three list arguments are, respectively, a set of descriptors to check for reading (first argument), for writing (second argument), or for exceptional conditions (third argument). The fourth argument is the maximal timeout, in seconds; a negative fourth argument means no timeout (unbounded wait). The result is composed of three sets of descriptors: those ready for reading (first component), ready for writing (second component), and over which an exceptional condition is pending (third component). On Windows, if one of descriptor lists exceeds [FD_SETSIZE] elements (64 by default), or if at least one non-socket file descriptor is used, the maximal timeout is capped to 2{^32} milliseconds. AGNNAT>@@@@@@@A@@<@@ A@@@@@@AAǐ- {1 Locking} AVAV@@@@@@3AAAAAAAA@1@AA+,lock_commandOAXAX@@;@@'F_ULOCK@@AYAY@@@1 Unlock a region AYAY@@@@@@@B@&F_LOCK@@AZAZ@@W 8 Lock a region for writing, and block if already locked BZBZ!@@@@@@@B@'F_TLOCK@@B ["$B ["-@@n 6 Lock a region for writing, or fail if already locked B["4B["o@@@@@@@B0@&F_TEST@@B \prB!\pz@@ ' Test a region for other process locks B.\pB/\p@@@@@@@BG@'F_RLOCK@@B7]B8]@@ 8 Lock a region for reading, and block if already locked BE]BF]@@@@@@@B^@(F_TRLOCK@@BN^BO^ @@ 6 Lock a region for reading, or fail if already locked B\^B]^L@@@@@@@Bu@@@A@@@@@B`X@@Đ8 Commands for {!lockf}. Bm_MMBn_Mj@@@@@@@A@B@@#@@@@@B@@@@@@#BZ@@@@@B@@@@@@#B["&@~@@@@B@@@@@@#B\pt@x@@@A B@@@@@@#B]@r@@@ABʐ@@@@@@#}}B^{@l@@@~A.Bې|{@{{@@@{@{@@A@wA9B搠vu@uu@@@u@u@@@%lockfBalpBalu@б@г-b*file_descrBalxBal@@ @@@3BBBBBBBB@5/)@A@@б@г5,lock_commandCalCal@@ @@@@@б@гB蠐#intCalCal@@ @@@ @@гBϠ$unitC"alC#al@@ @@@-@@@@@0@@@%@@3( @@@9@@6<@@@C3all@A > [lockf fd mode len] puts a lock on a region of the file opened as [fd]. The region starts at the current read/write position for [fd] (as set by {!lseek}), and extends [len] bytes forward if [len] is positive, [len] bytes backwards if [len] is negative, or to the end of the file if [len] is zero. A write lock prevents any other process from acquiring a read or write lock on the region. A read lock prevents any other process from acquiring a write lock on the region, but lets other processes acquire read locks on it. The [F_LOCK] and [F_TLOCK] commands attempts to put a write lock on the specified region. The [F_RLOCK] and [F_TRLOCK] commands attempts to put a read lock on the specified region. If one or several locks put by another process prevent the current process from acquiring the lock, [F_LOCK] and [F_RLOCK] block until these locks are removed, while [F_TLOCK] and [F_TRLOCK] fail immediately with an exception. The [F_ULOCK] removes whatever locks the current process has on the specified region. Finally, the [F_TEST] command tests whether a write lock can be acquired on the specified region, without actually putting a lock. It returns immediately if successful, or fails otherwise. What happens when a process tries to lock a region of a file that is already locked by the same process depends on the OS. On POSIX-compliant systems, the second lock operation succeeds and may "promote" the older lock from read lock to write lock. On Windows, the second lock operation will block or fail. C@bCA@@@@@@@CY@@!@ACT@@@@@@UCbCa } {1 Signals} Note: installation of signal handlers is performed via the functions {!Sys.signal} and {!Sys.set_signal}. C^C_hj@@@@@@3C]C\C\C]C]C]C]C]@g|1@A$killCjlpCklt@б@гCH#intCulwCvlz@@ @@@@@б@гB #Sys&signalCl~Cl@ ClCl@@@@@@2 @@гCG$unitClCl@@ @@@?@@@@@B@@@.@@E1 @@@Cll@B  [kill pid signal] sends signal number [signal] to the process with id [pid]. On Windows: only the {!Sys.sigkill} signal is emulated, causing the receiving process to exit with code [ERROR_PROCESS_ABORTED] (1067). Before OCaml 5.5, the receiving process exited with code 0. CC@@@@@@@C@@@BCɐ@@@@@@dA+3sigprocmask_commandPCC@@;@@+SIG_SETMASK@@CC@@C@)SIG_BLOCK@@CC@@C@+SIG_UNBLOCK@@CC@@D@@@A@@@@@C@@A@D@@#@@@@@#C@@@@@#C@@@@@@A@@@3CCCCCCCC@]@A@+sigprocmaskD D @б@гJ3sigprocmask_commandDD&@@ @@@3DDDDDDDD@UO@A@@б@гC$listD(5D)9@гB#Sys&signalD6*D7-@ D:.D;4@@@@@@$ @@@ @@@)@@гCɠ$listDMHDNL@гB#Sys&signalD[=D\@@ D_AD`G@@@@@@I @@@ @@@N@@@,@@Q8 @@@W@@TZ#@@@Ds&@Bא  [sigprocmask mode sigs] changes the set of blocked signals. If [mode] is [SIG_SETMASK], blocked signals are set to those in the list [sigs]. If [mode] is [SIG_BLOCK], the signals in [sigs] are added to the set of blocked signals. If [mode] is [SIG_UNBLOCK], the signals in [sigs] are removed from the set of blocked signals. [sigprocmask] returns the set of previously blocked signals. Each domain, and each thread when the [Thread] module is loaded, has its own signal mask. [sigprocmask] only changes the mask of the current domain or current thread. @raise Invalid_argument on Windows (no inter-process signals on Windows) DMMD@@@@@@@D@@6@BD@@@@@@s*sigpendingDD@б@гDO$unitDD@@ @@@3DDDDDDDD@8@A@@гD-$listDD@гCD#Sys&signalDD @ D D@@@@@@" @@@ @@@'@@@-@@*0 @@@D#@C8 Return the set of blocked signals that are currently pending. @raise Invalid_argument on Windows (no inter-process signals on Windows) DD@@@@@@@D@@3@CHD@@@@@@I*sigsuspendDD@б@гD$listEE@гC#Sys&signalEE@ EE@@@@@@ 3EEEEEEEE@uK@A @@@" @@@ @@гDנ$unitE*E+@@ @@@ @@@@@ "@@@E5 @C  [sigsuspend sigs] atomically sets the blocked signals to [sigs] and waits for a non-ignored, non-blocked signal to be delivered. On return, the blocked signals are reset to their initial value. @raise Invalid_argument on Windows (no inter-process signals on Windows) EBEC@@@@@@@E[@@@CEV@@@@@@6%pauseEYEZ@б@гE$unitEdEe@@ @@@3EfEeEeEfEfEfEfEf@Ow8@A@@гE $unitEs Et@@ @@@@@@@@@@@E~ @C␠ Wait until a non-ignored, non-blocked signal is delivered. @raise Invalid_argument on Windows (no inter-process signals on Windows) EEÒà@@@@@@@E@@@CE@@@@@@1'sigwaitEâæEâí@б@гE)$listEâûEâÿ@гD@#Sys&signalEâðEâó@ EâôEâú@@@@@@3EEEEEEEE@]rK@A @@@" @@@@@гD]#Sys&signalEâEâ@ EâEâ@@@@@@ @@@@@ + @@@Eââ @DL  [sigwait sigs] waits until one of the signals in the list [sigs] becomes pending. It then removes this signal from the set of pending signals, and returns the number of this signal. Signal handlers attached to the signals in [sigs] will not be invoked. The signals [sigs] are expected to be blocked before calling [sigwait]. @since 5.4 @raise Invalid_argument on Windows (no inter-process signals on Windows) EEzň@@@@@@@F@@@D\F @@@@@@?FF4 {1 Time functions} FŊŊFŊţ@@@@@@3FFFFFFFF@Qy1@AA+-process_timesQF ŦūF!ŦŸ@@;@@)tms_utime@@E@@@F-ŻſF.Ż@D; User time for the process F;ŻF<Ż@@@@@@@FT@)tms_stime@@F @@@FGFH @D= System time for the process FU FV.@@@@@@@Fn@*tms_cutime@@F%@@@Fa/3Fb/F@DƐ & User time for the children processes Fo/GFp/r@@@@@@@F@*tms_cstime@@F?@@@F{swF|sƊ@D ( System time for the children processes FsƋFsƸ@@@@@@@F@@AA@@@@@FŦŦFƹƼ@D򐠠 / The execution times (CPU times) of a process. FƽƽFƽ@@@@@@@@@F@@#{{vFŻ@g@@Ш@г~%floatFŻFŻ@@3FFFFFFFF@;@@@A@@@@@&#@@@A@@@@@EFŐ@@@@@@#}F@n@@Ш@г%floatFF @@!@@@@$@E5F␠@@@@@@#F/=@q@@Ш@г%floatF/@F/E@@>@@@@A@ERF@@@@@@#FsƁ@t@@Ш@г%floatGsƄGsƉ@@[@@@@ ^@EoG@@@@@@@A@EzG'@@@@@@@ @A+"tmRG,G-@@;@@&tm_sec@@G@@@/G9G:@E/ Seconds 0..60 GGGH1@@@@@@@G` @&tm_min@@G(@@@2GS26GT2C@E/ Minutes 0..59 Ga2RGb2f@@@@@@@Gz @'tm_hour@@GB@@@5GmgkGngy@EҐ- Hours 0..23 G{gLJG|gǙ@@@@@@@G @'tm_mday@@G\@@@8GǚǞGǚǬ@E쐠4 Day of month 1..31 GǚǺGǚ@@@@@@@G @&tm_mon@@Gv@@@;GG@F5 Month of year 0..11 GG@@@@@@@G@'tm_year@@G@@@>GG!@F - Year - 1900 G/GA@@@@@@@G@'tm_wday@@G@@@AGBFGBT@F:; Day of week (Sunday is 0) GBbGBȂ@@@@@@@G@'tm_yday@@G@@@DGȃȇGȃȕ@FT4 Day of year 0..365 GȃȣGȃȼ@@@@@@@H@(tm_isdst@@G@@@GH ȽH Ƚ@Fn ! Daylight time savings in effect HȽHȽ@@@@@@@H0@@@A@@@@@HH@F 9 The type representing wallclock time and calendar date. H)H*F@@@@@@@@@HB @@#H1@@@Ш@г#intH: H; @@3H9H8H8H9H9H9H9H9@)#;@@@A@@@@@'$@@@A@@@@0@ FHT  @  @@@ @ @#HS2<@@@Ш@г#intH\2?H]2B@@"@@@@3%@FHq  @  @@@ @ @#Hpgr@@@Ш@г #intHyguHzgx@@?@@@@6B@FH@@@@@@#  Hǚǥ@@@Ш@г#intHǚǨHǚǫ@@\@@@@9_@FH@@@@@@# H@@@Ш@г#intHH@@y@@@@<|@GHȐ@@@@@@# H@@@Ш@г#intHH @@@@@@?@G8H吠@@@@@@#HBM@@@Ш@г#intHBPHBS@@@@"@@B@GUI@@@@@@#IȃȎ@@@Ш@г#intI ȃȑI ȃȔ@@"а@@%@@E@!GrI@@@@@@#IȽ@@@Ш@г$boolI'ȽI(Ƚ@@%@@(@@H@$GI<"!@!!@@@!@!@@A@GIG@@@@@@@3I?I>I>I?I?I?I?I?@@A)(@$timeILIMIMIQ@б@гI$unitIWITIXIX@@ @@@a3IYIXIXIYIYIYIYIY@ 60@A@@гI(%floatIfI\IgIa@@ @@@b@@@@@c@@@IqII @GՐ J Return the current time since 00:00:00 GMT, Jan. 1, 1970, in seconds. I~bbIɠɱ@@@@@@@I@@@GI@@@@@@1,gettimeofdayIɳɷIɳ@б@гIM$unitIɳIɳ@@ @@@d3IIIIIIII@J_8@A@@гIq%floatIɳIɳ@@ @@@e@@@@@f@@@Iɳɳ @H < Same as {!time}, but with resolution better than 1 second. II@@@@@@@I@@@H.Iې@@@@@@1&gmtimeII!@б@гI%floatI$I)@@ @@@g3IIIIIIII@J_8@A@@г̠"tmI-I/@@ @@@h@@@@@i@@@J @Hg  Convert a time in seconds, as returned by {!time}, into a date and a time. Assumes UTC (Coordinated Universal Time), also known as GMT. To perform the inverse conversion, set the TZ environment variable to "UTC", use {!mktime}, and then restore the original value of TZ. J00JN@@@@@@@J)@@@HwJ$@@@@@@1)localtimeJ'PTJ(P]@б@гI%floatJ2P`J3Pe@@ @@@j3J4J3J3J4J4J4J4J4@J_8@A@@г"tmJAPiJBPk@@ @@@k@@@@@l@@@JLPP @H Convert a time in seconds, as returned by {!time}, into a date and a time. Assumes the local time zone. The function performing the inverse conversion is {!mktime}. JYllJZ@@@@@@@Jr@@@HJm@@@@@@1&mktimeJp#Jq)@б@гO"tmJ{,J|.@@ @@@m3J}J|J|J}J}J}J}J}@J_8@A@@В@гJP%floatJ2J7@@ @@@n@@@гq"tmJ:J<@@ @@@o"@@@@@ @@p) @@@/ @@q,2@@@J@I  Convert a date and time, specified by the [tm] argument, into a time in seconds, as returned by {!time}. The [tm_isdst], [tm_wday] and [tm_yday] fields of [tm] are ignored. Also return a normalized copy of the given [tm] record, with the [tm_wday], [tm_yday], and [tm_isdst] fields recomputed from the other fields, and the other fields normalized (so that, e.g., 40 October is changed into 9 November). The [tm] argument is interpreted in the local time zone. J==J(@@@@@@@J@@"@I#JА@@@@@@K%alarmJ*.J*3@б@гJ#intJ*6J*9@@ @@@r3JJJJJJJJ@dy8@A@@гJ#intJ*=J*@@@ @@@s@@@@@t@@@J** @I\ g Schedule a [SIGALRM] signal after the given number of seconds. @raise Invalid_argument on Windows KAAK΅έ@@@@@@@K@@@IlK@@@@@@1%sleep KίγKίθ@б@гJ#intK'ίλK(ίξ@@ @@@u3K)K(K(K)K)K)K)K)@J_8@A@@гJ㠐$unitK6ίK7ί@@ @@@v@@@@@w@@@KAίί @I 1 Stop execution for the given number of seconds. KNKO@@@@@@@Kg@@@IKb@@@@@@1&sleepf KeKf @б@гK2%floatKp Kq@@ @@@x3KrKqKqKrKrKrKrKr@J_8@A@@гK,$unitKK@@ @@@y@@@@@z@@@K @I Stop execution for the given number of seconds. Like [sleep], but fractions of seconds are supported. @since 4.03 (4.12 in UnixLabels) KKϊϱ@@@@@@@K@@@IK@@@@@@1%times KϳϷKϳϼ@б@гKf$unitKϳϿKϳ@@ @@@{3KKKKKKKK@J_8@A@@г-process_timesKϳKϳ@@ @@@|@@@@@}@@@Kϳϳ @J7 Return the execution times of the process. On Windows: partially implemented, will not report timings for child processes. K K C]@@@@@@@K@@@JGK@@@@@@1&utimes K_cK_i@б@гK̠&stringL_lL_r@@ @@@~3LLLLLLLL@J_8@A@@б@гKՠ%floatL_vL_{@@ @@@@@б@гK䠐%floatL"_L#_Є@@ @@@ @@гKܠ$unitL/_ЈL0_Ќ@@ @@@-@@@@@0@@@%@@3( @@@9@@6<@@@L@__@J  Set the last access time (second arg) and last modification time (third arg) for a file. Times are expressed in seconds from 00:00:00 GMT, Jan. 1, 1970. If both times are [0.0], the access and last modification times are both set to the current time. LMЍЍLNUј@@@@@@@Lf@@!@JLa@@@@@@UA+.interval_timer SLeњџLfњѭ@@;@@+ITIMER_REAL@@LoѰѴLpѰѿ@JԐ P decrements in real time, and sends the signal [SIGALRM] when expired.L}L~@@@@@@@L@.ITIMER_VIRTUAL@@LL.@J될 S decrements in process virtual time, and sends [SIGVTALRM] when expired. L/5Lxҍ@@@@@@@L@+ITIMER_PROF@@LҎҐLҎҝ@K (for profiling) decrements both when the process is running and when the system is running on behalf of the process; it sends [SIGPROF] when expired. LҞҤLR@@@@@@@L @@@A@@@@@Lњњ@K % The three kinds of interval timers. LSSLS}@@@@@@@A@L@@#WWUT@E@@@WK(LՐUT@TT@@@T@T@#PPL N@?@@@QK9L搠ON@NN@@@N@N@#JJLҎҒH@9@@@KKJLIH@HH@@@H@H@@A@DKUMCB@BB@@@B@B@@3LLLLLLLL@ @AQb@A+5interval_timer_statusTM !ӄM !ә@@;@@+it_interval@@L@@@M"ӜӠM"ӜӴ@K{( Period M$"ӜӽM%"Ӝ@@@@@@@M="@(it_value@@L@@@M0#M1#@K< Current value of the timer M>#M?# @@@@@@@MW#@@AA@@@@@MB!MC$@K 5 The type describing the status of an interval timer MP%MQ%L@@@@@@@@@Mi!@@#GGBMX"Ӝӫ@3@@Ш@гJ%floatMa"ӜӮMb"Ӝӳ@@R3M`M_M_M`M`M`M`M`@ha;@@@A@@@@@'$@@@A@@Z@@@VKM{TS@SS@@@S@S@#OOJMz#@;@@Ш@гR%floatM#M#@@Z"@@]@@%@YKMWV@VV@@@V@V@@A@RKMPO@OO@@@O@O@@3MMMMMMMM@:@A^]@)getitimerM'NRM'N[@б@гN.interval_timerM'N^M'Nl@@ @@@3MMMMMMMM@U@A@@г5interval_timer_statusM'NpM'Nԅ@@ @@@@@@@@@@@M'NN @L1 _ Return the current status of the given interval timer. @raise Invalid_argument on Windows M(ԆԆM*@@@@@@@M$@@@LAM@@@@@@1)setitimerM,M,@б@г.interval_timerM-M- @@ @@@3MMMMMMMM@J_8@A@@б@г5interval_timer_statusN -N-%@@ @@@@@г5interval_timer_statusN-)N->@@ @@@@@@@@!@@@'@@$* @@@N(,@L  [setitimer t s] sets the interval timer [t] and returns its previous status. The [s] argument is interpreted as follows: [s.it_value], if nonzero, is the time to the next timer expiration; [s.it_interval], if nonzero, specifies a value to be used in reloading [it_value] when the timer expires. Setting [s.it_value] to zero disables the timer. Setting [s.it_interval] to zero causes the timer to be disabled after its next expiration. @raise Invalid_argument on Windows N5.??N67 4@@@@@@@NN%@@@LNI@@@@@@CNWNV7 {1 User id, group id} NS:77NT:7S@@@@@@3NRNQNQNRNRNRNRNR@Uj1@A&getuidN_<UYN`<U_@б@гN$unitNj<UbNk<Uf@@ @@@@@гNJ#intNw<UjNx<Um@@ @@@'@@@@@*@@@N<UU @L搠 [ Return the user id of the user executing the process. On Windows: always returns [1]. N=nnN?ש@@@@@@@N&@@@LN@@@@@@I'geteuidNANA@б@гN^$unitNANA@@ @@@3NNNNNNNN@b]8@A@@гN#intNANA@@ @@@@@@@@@@@NA @M/ ` Return the effective user id under which the process runs. On Windows: always returns [1]. NBND*O@@@@@@@N'@@@M?N쐠@@@@@@1&setuidNFQUNFQ[@б@гN͠#intNFQ^NFQa@@ @@@3NNNNNNNN@J_8@A@@гN$unitO FQeO FQi@@ @@@@@@@@@@@OFQQ @Mx d Set the real user id and effective user id for the process. @raise Invalid_argument on Windows O!GjjO"Iث@@@@@@@O:(@@@MO5@@@@@@1&getgidO8KO9K@б@гN$unitOCKODK@@ @@@3OEODODOEOEOEOEOE@J_8@A@@гO%#intORKOSK@@ @@@@@@@@@@@O]K @M \ Return the group id of the user executing the process. On Windows: always returns [1]. OjLOkN*O@@@@@@@O)@@@MO~@@@@@@1'getegidOPQUOPQ\@б@гO9$unitOPQ_OPQc@@ @@@3OOOOOOOO@J_8@A@@гOn#intOPQgOPQj@@ @@@@@@@@@@@OPQQ @N a Return the effective group id under which the process runs. On Windows: always returns [1]. OQkkOS٬@@@@@@@O*@@@NOǐ@@@@@@1&setgidOUOU@б@гO#intOUOU@@ @@@3OOOOOOOO@J_8@A@@гO$unitOUOU@@ @@@@@@@@@@@OU @NS f Set the real group id and effective group id for the process. @raise Invalid_argument on Windows OVOX/W@@@@@@@P+@@@NcP@@@@@@1)getgroupsPZY]PZYf@б@гOˠ$unitPZYiPZYm@@ @@@3P PPP P P P P @J_8@A@@гO%arrayP-ZYuP.ZYz@гP #intP7ZYqP8ZYt@@ @@@@@@@@@ @@@$@@!'@@@PGZYY@N w Return the list of groups to which the user executing the process belongs. On Windows: always returns [[|1|]]. PT[{{PU^@@@@@@@Pm,@@*@NPh@@@@@@@)setgroupsPk`Pl`@б@гO%arrayPv` Pw`@гPS#intP` P` @@ @@@3PPPPPPPP@cxB@A@@@ @@@ @@гPA$unitP`P`@@ @@@@@@@@@@@P` @O [setgroups groups] sets the supplementary group IDs for the calling process. Appropriate privileges are required. @raise Invalid_argument on Windows PaPdۖۿ@@@@@@@P-@@@OP@@@@@@6*initgroupsPfPf@б@гP&stringPfPf@@ @@@3PPPPPPPP@On8@A@@б@гP#intPfPf@@ @@@@@гP$unitPfPf@@ @@@@@@@@!@@@'@@$* @@@Pf@O^  [initgroups user group] initializes the group access list by reading the group database /etc/group and using all groups of which [user] is a member. The additional group [group] is also added to the list. @raise Invalid_argument on Windows QgQl@@@@@@@Q .@@@OnQ@@@@@@CA+,passwd_entryUQnQ n@@;@@'pw_name @@P@@@ðQ,o Q-o@@QE0@)pw_passwd!@@Q@@@ưQ8pQ9p2@@QQ1@&pw_uid"@@Q@@@ɰQDq37QEq3D@@Q]2@&pw_gid#@@Q%@@@̰QPrEIQQrEV@@Qi3@(pw_gecos$@@Q(@@@ϰQ\sW[Q]sWm@@Qu4@&pw_dir%@@Q4@@@ҰQhtnrQitn݂@@Q5@(pw_shell&@@Q@@@@հQtu݃݇Quu݃ݘ@@Q6@@@A@@@@@QxnQyvݙݜ@Oݐ 0 Structure of entries in the [passwd] database. QwݝݝQwݝ@@@@@@@@@Q/@@#ggbQo@a@@Ш@гj&stringQoQo@@r3QQQQQQQQ@;@@@A@@@@@'$@@@A@@z@@@v@#rrmQp(@l@@Ш@гu&stringQp+Qp1@@}@@@@@|@#xxsQq3=@r@@Ш@г{#intQq3@Qq3C@@)@@@@,@@#~~yQrEO@x@@Ш@г#intQrERQrEU@@;@@@@>@@#QsWc@~@@Ш@г&stringQsWfQsWl@@M@@@@P@@#Qtnx@@@Ш@г&stringQtn{Qtn݁@@_@@@@b@@#Qu݃ݏ@@@Ш@г&stringRu݃ݒ@@p@@@@s@@@A@PoR@@@@@@@3RRRRRRRR@}@A@A++group_entry'VR"yR#y@@;@@'gr_name(@@Q@@@R/zR0z@@RH8@)gr_passwd)@@R@@@R;{R<{@@RT9@&gr_gid*@@R@@@RG|RH|&@@R`:@&gr_mem+@@Q۠R#@@@@@@RX}'+RY}'@@@Rq;@@@A@@@@@R\yR]~AD@P 0 Structure of entries in the [groups] database. RjEERkEz@@@@@@@@@R7@@#HHCRrz@B@@Ш@гK&stringR{zR|z@@S3RzRyRyRzRzRzRzRz@e_b;@@@A@@@@@'$@@@A@@[@@@W@#SSNR{ @M@@Ш@гV&stringR{ R{@@^@@a@@@]@#YYTR|@S@@Ш@г\#intR|"R|%@@d)@@g@@,@c@#__UR}'1@T@@Ш@гb%arrayR}';^@гf&stringR}'4R}':@@nC@@@sDi@@v@@G@m@@A@iQ'RԐgf@ff@@@f@f@@3RRRRRRRR@Q@Aut@(getlogin,R|ހR|ވ@б@гR$unitR|ދR|ޏ@@ @@@ 3RRRRRRRR@l@A@@гR&stringR|ޓR|ޙ@@ @@@ @@@@@ @@@R|| @Qb : Return the login name of the user executing the process. S ޚޚS ޚ@@@@@@@S$<@@@QrS@@@@@@1(getpwnam-S"S#@б@гR&stringS-S.@@ @@@ 3S/S.S.S/S/S/S/S/@J_8@A@@г,passwd_entryS<S=@@ @@@ @@@@@@@@SG @Q s Find an entry in [passwd] with the given name. @raise Not_found if no such entry exists, or always on Windows. STSU4y@@@@@@@Sm=@@@QSh@@@@@@1(getgrnam.Sk{Sl{߇@б@гS@&stringSv{ߊSw{ߐ@@ @@@3SxSwSwSxSxSxSxSx@J_8@A@@гc+group_entryS{ߔS{ߟ@@ @@@@@@@@@@@S{{ @Q s Find an entry in [group] with the given name. @raise Not_found if no such entry exists, or always on Windows. SߠߠS@@@@@@@S>@@@RS@@@@@@1(getpwuid/SS&@б@гS#intS)S,@@ @@@3SSSSSSSS@J_8@A@@г,passwd_entryS0S<@@ @@@@@@@@@@@S @R= w Find an entry in [passwd] with the given user id. @raise Not_found if no such entry exists, or always on Windows. S==St@@@@@@@S?@@@RMS@@@@@@1(getgrgid0SS@б@гS۠#intTT @@ @@@3T T T T T T T T @J_8@A@@г+group_entryTT@@ @@@@@@@@@@@T" @R w Find an entry in [group] with the given group id. @raise Not_found if no such entry exists, or always on Windows. T/T0Y@@@@@@@TH@@@@RTC@@@@@@1TQTP8 {1 Internet addresses} TM\\TN\y@@@@@@3TLTKTKTLTLTLTLTL@CX1@AA+)inet_addr1WTZ|T[|@@;@@>A@@@@@T^||@R * The abstract type of Internet addresses. TkTl@@@@@@@@@TA@@@A@RT~@@@@@@@*@3inet_addr_of_string2TT@б@гTW&stringTT@@ @@@3TTTTTTTT@D>8@A@@гB)inet_addrTT@@ @@@@@@@@@@@T @S c Conversion from the printable representation of an Internet address to its internal representation. The argument string consists of 4 numbers separated by periods ([XXX.YYY.ZZZ.TTT]) for IPv4 addresses, and up to 8 numbers separated by colons for IPv6 addresses. @raise Failure when given a string that does not match these formats. TTR@@@@@@@TB@@@STȐ@@@@@@13string_of_inet_addr3TTXTTk@б@г|)inet_addrTTnTTw@@ @@@3TTTTTTTT@J_8@A@@гT&stringTT{TT@@ @@@@@@@@@@@TTT @ST Return the printable representation of the given Internet address. See {!inet_addr_of_string} for a description of the printable representation. TT!@@@@@@@UC@@@SdU@@@@@@1-inet_addr_any4U#'U#4@гà)inet_addrU#7U#@@@ @@@3UUUUUUUU@H]6@A@@@U'## @S  A special IPv4 address, for use only with [bind], representing all the Internet addresses that the host machine possesses. U4AAU5@@@@@@@UMD@@@SUH@@@@@@!2inet_addr_loopback5UKUL@г)inet_addrUTUU@@ @@@3UVUUUUUVUVUVUVUV@8K6@A@@@U^ @S E A special IPv4 address representing the host machine ([127.0.0.1]). UkUl4@@@@@@@UE@@@SU@@@@@@!.inet6_addr_any6U6:U6H@г1)inet_addrU6KU6T@@ @@@ 3UUUUUUUU@8K6@A@@@U66 @S  A special IPv6 address, for use only with [bind], representing all the Internet addresses that the host machine possesses. UUUU@@@@@@@UF@@@T U@@@@@@!3inet6_addr_loopback7UU@гh)inet_addrUU@@ @@@!3UUUUUUUU@8K6@A@@@U @T0 ? A special IPv6 address representing the host machine ([::1]). UUC@@@@@@@UG@@@T@U퐠@@@@@@!-is_inet6_addr8UEIUEV@б@г)inet_addrUEYUEb@@ @@@"3UUUUUUUU@:M8@A@@гUȠ$boolV EfV Ej@@ @@@#@@@@@$@@@VEE @Ty C Whether the given [inet_addr] is an IPv6 address. @since 4.12 V"kkV#@@@@@@@V;H@@@TV6@@@@@@1VDVC- {1 Sockets} V@VA@@@@@@3V?V>V>V?V?V?V?V?@CX1@AA+-socket_domain9XVMVN@@;@@'PF_UNIX:@@VWVX@T- Unix domain VeVf@@@@@@@V~J@'PF_INET;@@VnVo@TӐ8 Internet domain (IPv4) V|2V}O@@@@@@@VK@(PF_INET6<@@VPRVP\@Tꐠ8 Internet domain (IPv6) VPpVP@@@@@@@VL@@@A@@@@@V@T The type of socket domains. Not all platforms support IPv6 sockets (type [PF_INET6]). On Windows: [PF_UNIX] supported since 4.14.0 on Windows 10 1803 and later. VV1B@@@@@@@A@VI@@#WWUT@E@@@WUVUT@TT@@@T@T@#PPVN@?@@@QU!VΐON@NN@@@N@N@#JJVPTH@9@@@KU2VߐIH@HH@@@H@H@@A@DU=VꐠCB@BB@@@B@B@@O`@A++socket_type=YVDIVDT@@;@@+SOCK_STREAM>@@VW[VWf@U^/ Stream socket WWwWW@@@@@@@W N@*SOCK_DGRAM?@@WW@Uu1 Datagram socket WW@@@@@@@W7O@(SOCK_RAW@@@W'W(@U, Raw socket W5W6@@@@@@@WNP@.SOCK_SEQPACKETA@@W>W?@U: Sequenced packets socket WLWM4@@@@@@@WeQ@@@A@@@@@WPDD@U The type of socket kinds, specifying the semantics of communications. [SOCK_SEQPACKET] is included for completeness, but is rarely supported by the OS, and needs system calls that are not available in this library. W]55W^@@@@@@@A@WvM@@#nnlk@\@@@nUWvlk@kk@@@k@k@#ggWue@V@@@hUWfe@ee@@@e@e@#aaW_@P@@@bUW`_@__@@@_@_@#[[WY@J@@@\UWZY@YY@@@Y@Y@@A@UVWTS@SS@@@S@S@@3WWWWWWWW@nhb@Abs@A+(sockaddrBZW#W+@@;@@)ADDR_UNIXCW@@@1@@W.2W.E@@WS@)ADDR_INETD@@@2W@@@3@@WFHWFf@@WT@@@A@@@@@W@VE  The type of socket addresses. [ADDR_UNIX name] is a socket address in the Unix domain; [name] is a file name in the file system. [ADDR_INET(addr,port)] is a socket address in the Internet domain; [addr] is the Internet address of the machine, and [port] is the port number. WllWp@@@@@@@@@XR@@#33,W.;@+@г4&stringW.?5@@;3WWWWWWWW@SL;@@@A@@@@@%#@@@A;@@@@=@#99X FJX FS@-@г;)inet_addrXFWXF`@@C@@г@#intXFcA@@GB@@@@D@@A@@VX0?>@>>@@@>@>@@3X(X'X'X(X(X(X(X(@*@ALO@&socketEX5X6@б'cloexecгX$boolXBXC@@ @@@?3XDXCXCXDXDXDXDXD@G@A@@б@г-socket_domainXSXT@@ @@@@@@б@гs+socket_typeXbXc@@ @@@A @@б@гXD#intXqXr@@ @@@B/@@гB렐*file_descrX~X @@ @@@C<@@@@@D?@@@%@@EB( @@@7@@FE:@@V+nN@@@G @@HLX@@ @X@V  Create a new socket in the given domain, and with the given kind. The third argument is the protocol type; 0 selects the default protocol for that kind of sockets. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. X  X@@@@@@@XU@@)@W X@@@@@@l2domain_of_sockaddrFXX*@б@г (sockaddrX,X4@@ @@@I3XXXXXXXX@8@A@@г-socket_domainX8XE@@ @@@J@@@@@K@@@X @WD A Return the socket domain adequate for the given socket address. XFFXF@@@@@@@YV@@@WTY@@@@@@1*socketpairGYY@б'cloexecгXϠ$boolYY@@ @@@L3YYYYYYYY@La:@A@@б@гՠ-socket_domainY"Y#@@ @@@M@@б@гB+socket_typeY1Y2@@ @@@N @@б@гY#intY@YA@@ @@@O/@@В@гC*file_descrYQYR@@ @@@P@@@@гC͠*file_descrY`Ya@@ @@@QO@@@@@ @@RV @@@- @@SY0@@@?@@T\B@@@Q@@U_T@@p,Wh@@@V @@WfY}@@ @Y @W䐠 Create a pair of unnamed sockets, connected together. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. YY@@@@@@@YW@@0@WY@@@@@@&acceptHYY@б'cloexecгYo$boolYY@@ @@@X3YYYYYYYY@:@A@@б@гD/*file_descrYY @@ @@@Y@@В@гD@*file_descrYY@@ @@@Z"@@@г'(sockaddrYY$@@ @@@[1@@@@@ @@\8 @@@- @@];0@@L,ӠD@@@^ @@_BY@@ @Y@X` Accept connections on the given socket. The returned descriptor is a socket connected to the client; the returned address is the address of the connecting client. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. Z %%Z )@@@@@@@Z"X@@*@XpZ@@@@@@b$bindIZ +/Z!+3@б@гD*file_descrZ++6Z,+@@@ @@@`3Z-Z,Z,Z-Z-Z-Z-Z-@{8@A@@б@г(sockaddrZ<+DZ=+L@@ @@@a@@гY$unitZI+PZJ+T@@ @@@b@@@@@c!@@@'@@d$* @@@ZW++@X> Bind a socket to an address. ZdUUZeUx@@@@@@@Z}Y@@@XZx@@@@@@C'connectJZ{z~Z|z@б@гD*file_descrZzZz@@ @@@e3ZZZZZZZZ@\q8@A@@б@гܠ(sockaddrZzZz@@ @@@f@@гZQ$unitZzZz@@ @@@g@@@@@h!@@@'@@i$* @@@Zzz@Y ! Connect a socket to an address. ZZ@@@@@@@ZZ@@@Y&ZӐ@@@@@@C&listenKZZ@б@гEN*file_descrZZ@@ @@@j3ZZZZZZZZ@\q8@A@@б@гZŠ#intZZ@@ @@@k@@гZ$unitZ[@@ @@@l@@@@@m!@@@'@@n$* @@@[ @Yq w Set up a socket for receiving connection requests. The integer argument is the maximal number of pending requests. [[9r@@@@@@@[3[@@@Y[.@@@@@@CA+0shutdown_commandL[[2ty[3t@@;@@0SHUTDOWN_RECEIVEM@@[<[=@Y5 Close for receiving [J[K@@@@@@@[c]@-SHUTDOWN_SENDN@@[S[T@Y3 Close for sending [a[b@@@@@@@[z^@,SHUTDOWN_ALLO@@[j[k@Yϐ, Close both [x [y1@@@@@@@[_@@@A@@@@@[|tt@Y & The type of commands for [shutdown]. [22[2]@@@@@@@A@[\@@#WWUT@E@@@WY[UT@TT@@@T@T@#PP[N@?@@@QZ[ON@NN@@@N@N@#JJ[H@9@@@KZ[ĐIH@HH@@@H@H@@A@DZ"[ϐCB@BB@@@B@B@@3[[[[[[[[@@AQb@(shutdownP[ `d[ `l@б@гFM*file_descr[ `o[ `y@@ @@@u3[[[[[[[[@@A@@б@г0shutdown_command[ `}[ `@@ @@@v@@г[$unit[ `[ `@@ @@@w@@@@@x!@@@'@@y$* @@@\  ``@Zp  Shutdown a socket connection. [SHUTDOWN_SEND] as second argument causes reads on the other end of the connection to return an end-of-file condition. [SHUTDOWN_RECEIVE] causes writes on the other end of the connection to return a closed pipe condition ([SIGPIPE] signal). \ \|@@@@@@@\2`@@@Z\-@@@@@@C+getsocknameQ\0\1@б@гF*file_descr\;\<@@ @@@z3\=\<\<\=\=\=\=\=@\q8@A@@г(sockaddr\J\K@@ @@@{@@@@@|@@@\U @Z ) Return the address of the given socket. \b\c@@@@@@@\{a@@@Z\v@@@@@@1+getpeernameR\y\z!@б@гF*file_descr\$\.@@ @@@}3\\\\\\\\@J_8@A@@гؠ(sockaddr\2\:@@ @@@~@@@@@@@@\ @[ ? Return the address of the host connected to the given socket. \;;\;@@@@@@@\b@@@[\@@@@@@1A+(msg_flagS\\\@@;@@'MSG_OOBT@@\\@@\d@-MSG_DONTROUTEU@@\\@@\e@(MSG_PEEKV@@\\@@\f@@@A@@@@@\@[G < The flags for {!recv}, {!recvfrom}, {!send} and {!sendto}. \\@@@@@@@A@] c@@#--+*@)@@@-@#))\'@&@@@*@#&&]$@#@@@'@@A@#[h]"!@!!@@@!@!@@3] ] ] ] ] ] ] ] @v@A03@$recvW]] @б@гG*file_descr]&]'@@ @@@3](]']'](](](](](@nh@A@@б@г\%bytes]7]8$@@ @@@@@б@г]#int]F(]G+@@ @@@ @@б@г](#int]U/]V2@@ @@@/@@б@г\ࠐ$list]d?]eC@г(msg_flag]n6]o>@@ @@@H@@@@@@M @@г]S#int]G]J@@ @@@Z@@@@@]@@@4@@`7 @@@F@@cI@@@X@@f[@@@l@@io@@@]@[ ' Receive data from a connected socket. ]KK]Kw@@@@@@@]g@@'@\ ]@@@@@@(recvfromX]!y}]!y@б@гH3*file_descr]"]"@@ @@@3]]]]]]]]@8@A@@б@г]%bytes]"]"@@ @@@@@б@г]#int]"]"@@ @@@ @@б@г]Ƞ#int]"]"@@ @@@/@@б@г]$list^"^"@гK(msg_flag^"^"@@ @@@H@@@@@@M @@В@г]#int^$#^%#@@ @@@^@@@гx(sockaddr^3#^4#@@ @@@m@@@@@ @@t @@@. @@w5@@@N@@zQ@@@`@@}c@@@r@@u@@@@@@@@^Q!yy@\ * Receive data from an unconnected socket. ^^$^_$@@@@@@@^wh@@.@\^r@@@@@@$sendY^u&^v& @б@гH*file_descr^'^'@@ @@@3^^^^^^^^@8@A@@б@г^W%bytes^'^'$@@ @@@@@б@г^s#int^'(^'+@@ @@@ @@б@г^#int^'/^'2@@ @@@/@@б@г^:$list^'?^'C@г(msg_flag^'6^'>@@ @@@H@@@@@@M @@г^#int^'G^'J@@ @@@Z@@@@@]@@@4@@`7 @@@F@@cI@@@X@@f[@@@l@@io@@@^&@]U $ Send data over a connected socket. ^(KK^(Kt@@@@@@@_i@@'@]e_@@@@@@.send_substringZ_*vz_*v@б@гI*file_descr_ +_!+@@ @@@3_"_!_!_"_"_"_"_"@8@A@@б@г^&string_1+_2+@@ @@@@@б@г_#int_@+_A+@@ @@@ @@б@г_"#int_O+_P+@@ @@@/@@б@г^ڠ$list_^+__+@г(msg_flag_h+_i+@@ @@@H@@@@@@M @@г_M#int_z+_{+@@ @@@Z@@@@@]@@@4@@`7 @@@F@@cI@@@X@@f[@@@l@@io@@@_*vv@] a Same as [send], but take the data from a string instead of a byte sequence. @since 4.02 _,_..@@@@@@@_j@@'@^_@@@@@@&sendto[_004_00:@б@гJ-*file_descr_1=?_1=I@@ @@@3________@8@A@@б@г_%bytes_1=M_1=R@@ @@@@@б@г_#int_1=V_1=Y@@ @@@ @@б@г_ #int_1=]_1=`@@ @@@/@@б@г_z$list_1=m_1=q@гE(msg_flag`1=d` 1=l@@ @@@H@@@@@@M @@б@гa(sockaddr`2uy`2u@@ @@@\@@г_#int`)2u`*2u@@ @@@i@@@@@l@@@&@@o- @@@F@@rI@@@X@@u[@@@j@@xm@@@~@@{@@@`C000@^ ' Send data over an unconnected socket. `P3`Q3@@@@@@@`ik@@*@^`d@@@@@@0sendto_substring\`g5`h5@б@гJߠ*file_descr`r6`s6@@ @@@3`t`s`s`t`t`t`t`t@8@A@@б@г`M&string`6`6@@ @@@@@б@г`e#int`6`6@@ @@@ @@б@г`t#int`6`6@@ @@@/@@б@г`,$list`6`6@г(msg_flag`6`6@@ @@@H@@@@@@M @@б@г (sockaddr`7 `7@@ @@@\@@г`#int`7`7@@ @@@i@@@@@l@@@&@@o- @@@F@@rI@@@X@@u[@@@j@@xm@@@~@@{@@@`5@_Y c Same as [sendto], but take the data from a string instead of a byte sequence. @since 4.02 a8a:o@@@@@@@al@@*@_ia@@@@@@a$a#4 {1 Socket options} a >a!>@@@@@@3aaaaaaaa@1@AA+2socket_bool_option]]a-Aa.A@@;@@(SO_DEBUG^@@a7Ba8B@_> Record debugging information aEBaFB@@@@@@@a^n@,SO_BROADCAST_@@aNCaOC@_ & Permit sending of broadcast messages a\Ca]C0@@@@@@@auo@,SO_REUSEADDR`@@aeD13afD1A@_ʐ ) Allow reuse of local addresses for bind asD1DatD1r@@@@@@@ap@,SO_KEEPALIVEa@@a|Esua}Es@_ᐠ8 Keep connection active aEsaEs@@@@@@@aq@,SO_DONTROUTEb@@aFaF@_ ( Bypass the standard routing algorithms aFaF@@@@@@@ar@,SO_OOBINLINEc@@aGaG@` Leave out-of-band data in line aGaG@@@@@@@as@-SO_ACCEPTCONNd@@aH aH/@`& , Report whether socket listening is enabled aH1aHb@@@@@@@at@+TCP_NODELAYe@@aIceaIcr@`= - Control the Nagle algorithm for TCP sockets aIcvaIc@@@@@@@au@)IPV6_ONLYf@@aJaJ@`T 2 Forbid binding an IPv6 socket to an IPv4 address aJaJ@@@@@@@bv@,SO_REUSEPORTg@@bKbK@`k 8 Allow reuse of address and port bindings. @since 4.12. bKbKD@@@@@@@b-w@@@A@@@@@bA@`| The socket options that can be consulted with {!getsockopt} and modified with {!setsockopt}. These options have a boolean ([true]/[false]) value. b%LEEb&N@@@@@@@A@b>m@@#@@@@`b>@@@@@@#b=C@@@@򠰠`bO@@@@@@#bND15@@@@젰`b`@@@@@@#b_Esw@@@@栰`bq@@@@@@#ߠ߰bpF@@@@࠰`b@@@@@@#٠ٰbG@@@@ڠ`b@@@@@@#ӠӰbH"@@@@Ԡ`b@@@@@@#͠ͰbIcg@@@@Πab@@@@@@#ǠǰbJ@@@@ȠabƐ@@@@@@#bK@@@@ a*bא@@@@@@@A@a5b␠@@@@@@@@A+1socket_int_optionh^bPbP@@;@@)SO_SNDBUFi@@bQbQ @aV5 Size of send buffer bQcQ*@@@@@@@cy@)SO_RCVBUFj@@cR+-c R+8@am9 Size of received buffer cR+<cR+Z@@@@@@@c/z@(SO_ERRORk@@cS[]c Th@0ocaml.deprecatedc&Thnc'Th~@ "Use Unix.getsockopt_error instead.c2Thc3Th@@c5Thc6Th@@@@@@c9Thl@a / Deprecated. Use {!getsockopt_error} instead. cFUcGU@@@@@@@c_{@'SO_TYPEl@@cOVcPV@a8 Report the socket type c]Vc^V @@@@@@@cv|@+SO_RCVLOWATm@@cfW cgW @aː 9 Minimum number of bytes to process for input operations ctW cuW \@@@@@@@c}@+SO_SNDLOWATn@@c}X]_c~X]l@a␠ : Minimum number of bytes to process for output operations cX]ncX]@@@@@@@c~@@@A@@@@@cP@a󐠠 The socket options that can be consulted with {!getsockopt_int} and modified with {!setsockopt_int}. These options have an integer value. cYc[1E@@@@@@@A@cx@@#@@@@bc@@@@@@#cR+/@@@@bcƐ@@@@@@#cS[_cS[g@@@@@@@@@b6c㐠@@@@@@#cV@@@@bGc@@@@@@#cW @~@@@bXd@@@@@@#dX]a@x@@@bid@@@@@@@A@btd!@@@@@@@3dddddddd@@A@A+4socket_optint_optiono_d(]GLd)]G`@@;@@)SO_LINGERp@@d2^ced3^cn@b Whether to linger on closed connections that have data present, and for how long (in seconds) d@^ctdA`@@@@@@@dY@@@A@@@@@dD]GG@b The socket options that can be consulted with {!getsockopt_optint} and modified with {!setsockopt_optint}. These options have a value of type [int option], with [None] meaning ``disabled''. dQadRc@@@@@@@A@dj@@#))'&@@@@)bdj'&@&&@@@&@&@@A@"bdu! @  @@@ @ @@3dmdldldmdmdmdmdm@U@A/@@A+3socket_float_optionq`d|ed}e@@;@@+SO_RCVTIMEOr@@dfdf@b될> Timeout for input operations dfdf@@@@@@@d@+SO_SNDTIMEOs@@dg "dg /@c? Timeout for output operations dg 3dg W@@@@@@@d@@@A@@@@@de@c The socket options that can be consulted with {!getsockopt_float} and modified with {!setsockopt_float}. These options have a floating-point value representing a time in seconds. The value 0 means infinite timeout. dhXXdk?@@@@@@@A@d@@#@@>=@.@@@@c(dՐ>=@==@@@=@=@#99dg $7@(@@@:c9d搠87@77@@@7@7@@A@3cDd񐠠21@11@@@1@1@@3dddddddd@}@A@Q@*getsockopttdmAEdmAO@б@гOo*file_descremARemA\@@ @@@3eeeeeeee@@A@@б@г栐2socket_bool_optionemA`emAr@@ @@@@@гdޠ$boole mAve!mAz@@ @@@@@@@@!@@@'@@$* @@@e.mAA@c N Return the current status of a boolean-valued option in the given socket. e;n{{e<o@@@@@@@eT@@@ceO@@@@@@C*setsockoptueRqeSq@б@гOʠ*file_descre]qe^q@@ @@@3e_e^e^e_e_e_e_e_@\q8@A@@б@гA2socket_bool_optionenqeoq@@ @@@@@б@гe;$boole}qe~q @@ @@@ @@гe7$uniteq eq@@ @@@-@@@@@0@@@%@@3( @@@9@@6<@@@eq@c ; Set or clear a boolean-valued option in the given socket. ererR@@@@@@@e@@!@de@@@@@@U.getsockopt_intvetTXetTf@б@гP7*file_descretTietTs@@ @@@3eeeeeeee@n8@A@@б@г1socket_int_optionetTwetT@@ @@@@@гe#intetTetT@@ @@@@@@@@!@@@'@@$* @@@etTT@dZ < Same as {!getsockopt} for an integer-valued socket option. fufu@@@@@@@f@@@djf@@@@@@C.setsockopt_intwfwfw@б@гP*file_descrf%wf&w@@ @@@3f'f&f&f'f'f'f'f'@\q8@A@@б@гO1socket_int_optionf6wf7w@@ @@@@@б@гf#intfEw fFw@@ @@@ @@гe$unitfRwfSw@@ @@@-@@@@@0@@@%@@3( @@@9@@ 6<@@@fcw@dǐ < Same as {!setsockopt} for an integer-valued socket option. fpxfqxX@@@@@@@f@@!@df@@@@@@U1getsockopt_optintxfzZ^fzZo@б@гP*file_descrfzZrfzZ|@@ @@@ 3ffffffff@n8@A@@б@г{4socket_optint_optionfzZfzZ@@ @@@ @@гf&optionfzZfzZ@гf#intfzZfzZ@@ @@@ (@@@@@@- @@@"@@0%@@@6@@39@@@fzZZ@e1 O Same as {!getsockopt} for a socket option whose value is an [int option]. f{f|@@@@@@@f@@-@eAf@@@@@@R1setsockopt_optintyf~f~@б@гQi*file_descrff!@@ @@@3ffffffff@k8@A@@б@г堐4socket_optint_optiong %g9@@ @@@@@б@гf{&optiongAgG@гf#intg&=g'@@@ @@@*@@@@@@/ @@гf堐$unitg8Kg9O@@ @@@<@@@@@?@@@4@@B7 @@@H@@EK@@@gI~@e O Same as {!setsockopt} for a socket option whose value is an [int option]. gVPPgW@@@@@@@go@@!@egj@@@@@@d0getsockopt_floatzgmgn@б@гQ堐*file_descrgxgy@@ @@@3gzgygygzgzgzgzgz@}8@A@@б@г 3socket_float_optiongg@@ @@@@@гgX%floatgg@@ @@@@@@@@!@@@'@@$* @@@g@f W Same as {!getsockopt} for a socket option whose value is a floating-point number. gg'D@@@@@@@g@@@fgŐ@@@@@@C0setsockopt_float{gFJgFZ@б@гR@*file_descrgF]gFg@@ @@@3gggggggg@\q8@A@@б@гh3socket_float_optiongFkgF~@@ @@@ @@б@гg%floatgFgF@@ @@@! @@гg$unithFhF@@ @@@"-@@@@@#0@@@%@@$3( @@@9@@%6<@@@hFF@fu W Same as {!setsockopt} for a socket option whose value is a floating-point number. hh@@@@@@@h7@@!@fh2@@@@@@U0getsockopt_error|h5h6@б@гR*file_descrh@hA@@ @@@&3hBhAhAhBhBhBhBhB@n8@A@@гg&optionhOhP@гfȠ%errorhYhZ@@ @@@'@@@@@@) @@@$@@*!'@@@hi@f͐ P Return the error condition associated with the given socket, and clear it. hv  hwau@@@@@@@h@@*@fh@@@@@@@hh - {1 High-level network connection functions} hwwhw@@@@@@3hhhhhhhh@Rg1@A/open_connection}hh@б@г(sockaddrhh@@ @@@+@@В@гgD*in_channelhh@@ @@@,+@@@гgS+out_channelhh@@ @@@-:@@@@@ @@.A @@@- @@/D0@@@h@gA . Connect to a server at the given address. Return a pair of buffered channels connected to the server. Remember to call {!Stdlib.flush} on the output channel at the right times to ensure correct synchronization. The two channels returned by [open_connection] share a descriptor to a socket. Therefore, when the connection is over, you should call {!Stdlib.close_out} on the output channel, which will also close the underlying socket. Do not call {!Stdlib.close_in} on the input channel; it will be collected by the GC eventually. hh  @@@@@@@i@@"@gQh@@@@@@c3shutdown_connection~i  !i  4@б@гg*in_channeli   7i   A@@ @@@03ii i iiiii@|w8@A@@гhȠ$uniti  Ei  I@@ @@@1@@@@@2@@@i&   @g M ``Shut down'' a connection established with {!open_connection}; that is, transmit an end-of-file condition to the server reading on the other side of the connection. This does not close the socket and the channels used by the connection. See {!Unix.open_connection} for how to close them once the connection is over. i3 J Ji4  @@@@@@@iL@@@giG@@@@@@10establish_serveriJ  iK  @б@б@гg*in_channeliW  iX  @@ @@@33iYiXiXiYiYiYiYiY@La:@A@@б@гg+out_channelih  ii  @@ @@@4@@гi"$unitiu  iv  @@ @@@5@@@@@6!@@@'@@7$* @@б@гϠ(sockaddri  i  @@ @@@83@@гiD$uniti  i  @@ @@@9@@@@@@:C@@@$@@;Fi   @@@i  @h  Establish a server on the given address. The function given as first argument is called for each connection with two buffered channels connected to the client. A new process is created for each connection. The function {!establish_server} never returns normally. The two channels given to the function share a descriptor to a socket. The function does not need to close the channels, since this occurs automatically when the function returns. If the function prefers explicit closing, it should close the output channel using {!Stdlib.close_out} and leave the input channel unclosed, for reasons explained in {!Unix.in_channel_of_descr}. @raise Invalid_argument on Windows. Use threads instead. i  i  @@@@@@@i@@@hiǐ@@@@@@fiiԐ ! {1 Host and protocol databases} i  i  @@@@@@3iiiiiiii@x1@AA+*host_entryai i  @@;@@&h_name@@i@@@<ii"@@j@)h_aliases@@ii@@@?@@@Ai#'i#@@@j@*h_addrtype@@@@@DjAEj A`@@j!@+h_addr_list@@i@@@G@@@Ijaeja@@j2@@@A@@@@@j  j@h / Structure of entries in the [hosts] database. j+j,@@@@@@@@@jD@@#MMHj3@G@@Ш@гP&stringj<j=!@@X3j;j:j:j;j;j;j;j;@lf;@@@A@@@@@&#@@@A@@_@@=@[@#WWMjI#0@L@@Ш@гZ%arrayjR#:jS#?@г_&stringj[#3j\#9@@g@@@l  @@o@@B#@f@#bb]jeAO@\@@Ш@гe-socket_domainjnARjoA_@@m2@@p@@E5@l@#hh^jwap@]@@Ш@гk%arrayja}g@гo)inet_addrjasja|@@wL@@@|Mr@@@@JP@v@@A@rhjpo@oo@@@o@o@@ư}|@A+.protocol_entrybjj@@;@@&p_name@@j|@@@_jj@@j@)p_aliases@@jDj@@@b@@@djj@@j@'p_proto@@j@@@gj j@@j@@@A@@@@@jj@i6 3 Structure of entries in the [protocols] database. jjT@@@@@@@@@j@@#<<7j@6@@Ш@г?&stringjj@@G3jjjjjjjj@!V;@@@A@@@@@'$@@@A@@O@@`@K@#GG=j@<@@Ш@гJ%arraykk@гO&stringkk@@W @@@\! @@_@@e$@V@#RRMk@L@@Ш@гU#intk#V@@\2W@@_@@h5@[@@A@Wik7UT@TT@@@T@T@@3k/k.k.k/k/k/k/k/@?@Acb@A+-service_entryck=V[k>Vh@@;@@&s_name@@k@@@xkJkokKk@@kc@)s_aliases@@jޠk&@@@{@@@}k[k\@@kt@&s_port@@k<@@@kgkh@@k@'s_proto@@k?@@@kskt@@k@@@A@@@@@kwVVkx@iܐ 2 Structure of entries in the [services] database. kk@@@@@@@@@k@@#HHCkku@B@@Ш@гK&stringkkxkk~@@S3kkkkkkkk@b;@@@A@@@@@'$@@@A@@[@@y@W@#SSIk@H@@Ш@гV%arraykk@г[&stringkk@@c @@@h! @@k@@~$@b@#^^Yk@X@@Ш@гa#intkk@@i3@@l@@6@h@#dd_k@^@@Ш@гg&stringkh@@nDi@@q@@G@m@@A@ijBkgf@ff@@@f@f@@3kkkkkkkk@Q@Aut@+gethostnamekk@б@гk$unitkl@@ @@@3llllllll@l@A@@гkؠ&stringll"@@ @@@@@@@@@@@l @j} $ Return the name of the local host. l&##l'#L@@@@@@@l?@@@jl:@@@@@@1-gethostbynamel=NRl>N_@б@гl&stringlHNblINh@@ @@@3lJlIlIlJlJlJlJlJ@J_8@A@@гy*host_entrylWNllXNv@@ @@@@@@@@@@@lbNN @jƐ ] Find an entry in [hosts] with the given name. @raise Not_found if no such entry exists. lowwlp@@@@@@@l@@@jl@@@@@@1-gethostbyaddrll@б@г7)inet_addrll@@ @@@3llllllll@J_8@A@@г *host_entryll@@ @@@@@@@@@@@l @k ` Find an entry in [hosts] with the given address. @raise Not_found if no such entry exists. ll<l@@@@@@@l@@@kl̐@@@@@@1.getprotobynamelnrln@б@гl&stringlnln@@ @@@3llllllll@J_8@A@@гF.protocol_entrylnln@@ @@@@@@@@@@@lnn @kX a Find an entry in [protocols] with the given name. @raise Not_found if no such entry exists. mm@@@@@@@m@@@khm@@@@@@10getprotobynumbermm@б@гl#intm#m$@@ @@@3m%m$m$m%m%m%m%m%@J_8@A@@г.protocol_entrym2"m30@@ @@@@@@@@@@@m= @k l Find an entry in [protocols] with the given protocol number. @raise Not_found if no such entry exists. mJ11mKr@@@@@@@mc@@@km^@@@@@@1-getservbynamemamb@б@гm6&stringmlmm@@ @@@3mnmmmmmnmnmnmnmn@J_8@A@@б@гmG&stringm}m~@@ @@@@@гM-service_entrymm@@ @@@@@@@@!@@@'@@$* @@@m@k ` Find an entry in [services] with the given name. @raise Not_found if no such entry exists. mm?@@@@@@@m@@@l m@@@@@@C-getservbyportmAEmAR@б@гm#intmAUmAX@@ @@@3mmmmmmmm@\q8@A@@б@гm&stringmA\mAb@@ @@@@@г-service_entrymAfmAs@@ @@@@@@@@!@@@'@@$* @@@mAA@lW j Find an entry in [services] with the given service number. @raise Not_found if no such entry exists. nttn@@@@@@@n@@@lgn@@@@@@CA+)addr_infodnn@@;@@)ai_family@@@@@n%n&@l/ Socket domain n3n42@@@@@@@nL@+ai_socktype@@R@@@n?37n@3Q@l- Socket type nM3[nN3m@@@@@@@nf@+ai_protocol@@n.@@@nYnrnZn@l8 Socket protocol number ngnnhn@@@@@@@n@'ai_addr@@@@@nsnt@lؐ) Address nn@@@@@@@n@,ai_canonname@@nY@@@nn@l򐠠6 Canonical host name nn.@@@@@@@n@@@A@@@@@nn/2@m 1 Address information returned by {!getaddrinfo}. n33n3i@@@@@@@@@n@@#n@@@Ш@г-socket_domainnn@@3nnnnnnnn@ ;@@@A@@@@@'$@@@A@@@@@m+nؐ@@@@@@#n3B@@@Ш@г+socket_typen3En3P@@"@@@@%@mHn@@@@@@#nn}@@@Ш@г#intnnnn@@?@@@@B@meo@@@@@@#o@@@Ш@г(sockaddroo@@\@@@@_@mo/@@@@@@#o.@@@Ш@г&stringo7@@x@@@@{@moK@@@@@@@A@moV@@@@@@@3oNoMoMoNoNoNoNoN@@A@A+2getaddrinfo_optioneo\kpo]k@@;@@)AI_FAMILY @@@@@okol@mА Impose the given socket domain oyoz@@@@@@@o@+AI_SOCKTYPE@@@@@oo@m쐠> Impose the given socket type oo@@@@@@@o@+AI_PROTOCOLox@@@@@o!o5@n< Impose the given protocol oGoh@@@@@@@o@.AI_NUMERICHOST@@oikoi{@n b Do not call name resolver, expect numeric IP address oio@@@@@@@o@,AI_CANONNAME@@oo @n6 Y Fill the [ai_canonname] field of the result o!oC@@@@@@@o@*AI_PASSIVE@@oo@nM a Set address to ``any'' address for use with {!bind} oo@@@@@@@p@@@A@@@@@okk@n^< Options to {!getaddrinfo}. pp0@@@@@@@@@p @@#p@@г-socket_domainp@@3pppppppp@Z;@@@A@@@@@%#@@@A@@@@np/@@@@@@#p.p/@@г+socket_typep8@@ @@@@npJ@@@@@@#pI#pJ.@@г#intpS2@@;@@@@npe@@@@@@#pdim@@@@npv@@@@@@#pu@@@@np@@@@@@#p@@@@np@@@@@@@A@np@@@@@@@3pppppppp@@A@+getaddrinfop26p2A@б@гp}&stringpCEpCK@@ @@@3pppppppp@b\@A@@б@гp&stringpCOpCU@@ @@@@@б@гpO$listpClpCp@г2getaddrinfo_optionpCYpCk@@ @@@*@@@@@@/ @@гpk$listpC~pC@г᠐)addr_infopCtpC}@@ @@@F@@@@@@K @@@#@@N*@@@C@@QF@@@W@@TZ@@@q22 @os  [getaddrinfo host service opts] returns a list of {!addr_info} records describing socket parameters and addresses suitable for communicating with the given host and service. The empty list is returned if the host or service names are unknown, or the constraints expressed in [opts] cannot be satisfied. [host] is either a host name or the string representation of an IP address. [host] can be given as the empty string; in this case, the ``any'' address or the ``loopback'' address are used, depending whether [opts] contains [AI_PASSIVE]. [service] is either a service name or the string representation of a port number. [service] can be given as the empty string; in this case, the port field of the returned addresses is set to 0. [opts] is a possibly empty list of options that allows the caller to force a particular socket domain (e.g. IPv6 only or IPv4 only) or a particular socket type (e.g. TCP only or UDP only). qq!`@@@@@@@q5@@0@oq0@@@@@@sA+)name_infofq4bgq5bp@@;@@+ni_hostname@@q @@@qAswqBs@o< Name or IP address of host qOsqPs@@@@@@@qh@*ni_service@@q'@@@q[q\@o Name of service or port number qiqj @@@@@@@q@@@A@@@@@qmbbqn @oҐ : Host and service information returned by {!getnameinfo}. q{q|N@@@@@@@@@q@@#GGBqs@3@@Ш@гJ&stringqsqs@@R3qqqqqqqq@a;@@@A@@@@@'$@@@A@@Z@@@VoqTS@SS@@@S@S@#OOJq@;@@Ш@гR&stringqq@@Z"@@]@@%@YpqÐWV@VV@@@V@V@@A@Rp!qΐPO@OO@@@O@O@@3qqqqqqqq@:@A^]@A+2getnameinfo_optiongqPUqPg@@;@@)NI_NOFQDN@@qjnqjw@pC ! Do not qualify local host names qjqj@@@@@@@r@.NI_NUMERICHOST@@qq@pZ " Always return host as IP address rr@@@@@@@r@+NI_NAMEREQD@@r r @pq ( Fail if host name cannot be determined rr1@@@@@@@r3@.NI_NUMERICSERV@@r# 24r$ 2D@p & Always return service as port number r1 2Kr2 2v@@@@@@@rJ@(NI_DGRAM@@r:!wyr;!w@p [ Consider the service as UDP-based instead of the default TCP rH!wrI"@@@@@@@ra@@@A@@@@@rLPP@p< Options to {!getnameinfo}. rY#rZ#@@@@@@@A@rr@@#@s@@@prr@@@@@@#~~rq|@m@@@pr}|@||@@@|@|@#xxrv@g@@@yprwv@vv@@@v@v@#rrr 26p@a@@@sprqp@pp@@@p@p@#llr!w{j@[@@@mq rkj@jj@@@j@j@@A@fqred@dd@@@d@d@@3rrrrrrrr@.@As@+getnameinfor%r%#@б@г(sockaddrr%&r%.@@ @@@3rrrrrrrr@ @A@@б@гr_$listr%Er%I@г2getnameinfo_optionr%2r%D@@ @@@@@@@@@  @@гˠ)name_infor%Ms%V@@ @@@-@@@@@0@@@6@@39 @@@s %@qq [getnameinfo addr opts] returns the host name and service name corresponding to the socket address [addr]. [opts] is a possibly empty list of options that governs how these names are obtained. @raise Not_found if an error occurs. s&WWs) % P@@@@@@@s3@@@qs.@@@@@@Rs<s;8 {1 Terminal interface} s8, S Ss9, S p@@@@@@3s7s6s6s7s7s7s7s7@dy1@AsOsN The following functions implement the POSIX standard terminal interface. They provide control over asynchronous communication ports and pseudo-terminals. Refer to the [termios] man page for a complete description. sK/ s ssL2!=!X@@@@@@A++terminal_iohsV4!Z!_sW4!Z!j@@;@@(c_ignbrkA@s#@@@sc7!!sd7!!@qȐ= Ignore the break condition. sq7!!sr7!!@@@@@@@s@(c_brkintA@s=@@@s}8!!s~8!!@q␠ & Signal interrupt on break condition. s8!!s8!"@@@@@@@s@(c_ignparA@sW@@@s9""s9"".@q ' Ignore characters with parity errors. s9""0s9""\@@@@@@@s@(c_parmrkA@sq@@@ s:"]"as:"]"y@r5 Mark parity errors. s:"]"{s:"]"@@@@@@@s@'c_inpckA@s@@@s;""s;""@r0? Enable parity check on input. s;""s;""@@@@@@@s@(c_istripA@s@@@s<""s<""@rJ $ Strip 8th bit on input characters. s<""s<"# @@@@@@@t @'c_inlcrA@s@@@s=#!#%t=#!#<@rd8 Map NL to CR on input. t =#!#?t=#!#\@@@@@@@t&@'c_igncrA@s@@@t>#]#at>#]#x@r~5 Ignore CR on input. t'>#]#{t(>#]#@@@@@@@t@@'c_icrnlA@s@@@t3?##t4?##@r8 Map CR to NL on input. tA?##tB?##@@@@@@@tZ@&c_ixonA@t @@@tM@##tN@##@r ) Recognize XON/XOFF characters on input. t[@##t\@#$@@@@@@@tt@'c_ixoffA@t'@@@ tgA$$#thA$$:@r̐ , Emit XON/XOFF chars to control input flow. tuA$$=tvA$$n@@@@@@@t@'c_opostA@tA@@@#tC$$tC$$@r搠; Enable output processing. tC$$tC$$@@@@@@@t@'c_obaudA@tp@@@&tE$$tE$$@s - Output baud rate (0 means close connection).tE$$tE$%/@@@@@@@t@'c_ibaudA@t@@@)tF%0%4tF%0%J@s2 Input baud rate. tF%0%NtF%0%e@@@@@@@t@'c_csizeA@t@@@,tG%f%jtG%f%@s4 % Number of bits per character (5-8). tG%f%tG%f%@@@@@@@t@(c_cstopbA@t@@@/tH%%tH%%@sN< Number of stop bits (1-2). tH%%tH%%@@@@@@@u@'c_creadA@t@@@2uI%%uI%& @sh7 Reception is enabled. uI%& uI%&)@@@@@@@u*@(c_parenbA@t@@@5uJ&*&.uJ&*&F@s ) Enable parity generation and detection. u+J&*&Hu,J&*&v@@@@@@@uD@(c_paroddA@t@@@8u7K&w&{u8K&w&@s % Specify odd parity instead of even. uEK&w&uFK&w&@@@@@@@u^@'c_hupclA@u@@@;uQL&&uRL&&@s8 Hang up on last close. u_L&&u`L&&@@@@@@@ux@(c_clocalA@u+@@@>ukM&'ulM&'@sА< Ignore modem status lines. uyM&'uzM&';@@@@@@@u@&c_isigA@uE@@@AuO'S'WuO'S'm@sꐠ & Generate signal on INTR, QUIT, SUSP. uO'S'quO'S'@@@@@@@u@(c_icanonA@u_@@@DuP''uP''@t [ Enable canonical processing (line buffering and editing) uP''uQ'(@@@@@@@u@(c_noflshA@uy@@@GuR(( uR((8@t ' Disable flush after INTR, QUIT, SUSP. uR((:uR((f@@@@@@@u@&c_echoA@u@@@JuS(g(kuS(g(@t88 Echo input characters. uS(g(uS(g(@@@@@@@u@'c_echoeA@u@@@MuT((uT((@tR + Echo ERASE (to erase previous character). uT((uT((@@@@@@@v@'c_echokA@u@@@PvU((vU() @tl ( Echo KILL (to erase the current line). vU()vU()=@@@@@@@v.@(c_echonlA@u@@@Sv!V)>)Bv"V)>)Z@t $ Echo NL even if c_echo is not set. v/V)>)\v0V)>)@@@@@@@vH@'c_vintrA@v @@@Vv;X))v<X))@t ' Interrupt character (usually ctrl-C). vIX))vJX))@@@@@@@vb@'c_vquitA@v%@@@YvUY))vVY)* @t " Quit character (usually ctrl-\). vcY)* vdY)*4@@@@@@@v|@(c_veraseA@v?@@@\voZ*5*9vpZ*5*Q@tԐ * Erase character (usually DEL or ctrl-H). v}Z*5*Sv~Z*5*@@@@@@@v@'c_vkillA@vY@@@_v[**v[**@t ' Kill line character (usually ctrl-U). v[**v[**@@@@@@@v@&c_veofA@vs@@@bv\**v\**@u ) End-of-file character (usually ctrl-D). v\**v\*+@@@@@@@v@&c_veolA@v@@@ev]++v]++5@u" - Alternate end-of-line char. (usually none). v]++9v]++k@@@@@@@v@&c_vminA@v@@@hv^+l+pv^+l+@u< m Minimum number of characters to read before the read request is satisfied. v^+l+v_++@@@@@@@v@'c_vtimeA@v@@@kv`+,v`+,@uV $ Maximum read wait (in 0.1s units). v`+,w`+,D@@@@@@@w@(c_vstartA@v@@@nw a,E,Iw a,E,a@up # Start character (usually ctrl-Q). wa,E,cwa,E,@@@@@@@w2@'c_vstopA@v@@@qw%b,,w&b,,@u " Stop character (usually ctrl-S). w3b,,w4b,,@@@@@@@wL@@@A@@@@@w74!Z!Zw8c,,@@@@wP@@#w?7!!w@7!!@A@Ш@г堐$boolwI7!!wJ7!!@@3wHwGwGwHwHwHwHwH@;@@@A@@@@@@@@@A@@@@@𠰠uwb@@@@@@#wa8!!wb8!!@A@Ш@г$boolwk8!!wl8!!@@"@@@@%@uw@@@@@@#w9""w9""&@A@Ш@г$boolw9"")w9""-@@@@@@@ C@uw@@@@@@#w:"]"iw:"]"q@A@Ш@г$boolw:"]"tw:"]"x@@^@@@@ a@vw@@@@@@#w;""w;""@A@Ш@г$boolw;""w;""@@|@@@@@v-wڐ@@@@@@#w<""w<""@A@Ш@г$boolw<""w<""@@@@@@@vKw@@@@@@#w=#!#-w=#!#4@A@Ш@г$boolx=#!#7x=#!#;@@ @@ @@@vix@@@@@@#x>#]#ix>#]#p@A@Ш@г$boolx>#]#sx >#]#w@@ ְ@@@@@ vx4  @  @@@ @ @#x3?##x4?##@A@Ш@г $boolx=?##x>?##@@@@@@@vxR @  @@@ @ @#  xQ@##xR@##@A@Ш@г $boolx[@##x\@##@@@@@@@vxp@@@@@@#  xoA$$+xpA$$2@A@Ш@г$boolxyA$$5xzA$$9@@0@@@@!3@vx@@@@@@#xC$$xC$$@A@Ш@г$boolxC$$xC$$@@N@@ @@$Q@vx@@@@@@#xE$$xE$$@A@Ш@г#intxE$$xE$$@@!l@@$@@'o@ wxʐ@@@@@@#xF%0%<xF%0%C@A@Ш@г#intxF%0%FxF%0%I@@%@@(@@*@$w;x萠"!@!!@@@!@!@#xG%f%rxG%f%y@ A@Ш@г!#intxG%f%|xG%f%@@)@@,@@-@(wYy&%@%%@@@%@%@#!!yH%%yH%%@A@Ш@г%#intyH%%yH%%@@-ư@@0@@0@,wwy$*)@))@@@)@)@#%%y#I%%y$I%&@A@Ш@г)$booly-I%&y.I%& @@1@@4@@3@0wyB.-@--@@@-@-@#))yAJ&*&6yBJ&*&>@A@Ш@г-$boolyKJ&*&AyLJ&*&E@@5@@8@@6@4wy`21@11@@@1@1@#--y_K&w&y`K&w&@A@Ш@г1$boolyiK&w&yjK&w&@@9 @@<@@9#@8wy~65@55@@@5@5@#11y}L&&y~L&&@A@Ш@г5$boolyL&&yL&&@@=>@@@@@<A@<wy:9@99@@@9@9@#55yM&'yM&'@"A@Ш@г9$boolyM&'yM&'@@A\@@D@@?_@@x y>=@==@@@=@=@#99yO'S'_yO'S'e@&A@Ш@г=$boolyO'S'hyO'S'l@@Ez@@H@@B}@Dx+yؐBA@AA@@@A@A@#==yP''yP''@*A@Ш@гA$boolyP''yP''@@I@@L@@E@HxIyFE@EE@@@E@E@#AAyR(((yR((0@.A@Ш@гE$boolyR((3zR((7@@M@@P@@H@LxgzJI@II@@@I@I@#EEzS(g(szS(g(y@2A@Ш@гI$boolzS(g(|zS(g(@@Q԰@@T@@K@Pxz2NM@MM@@@M@M@#IIz1T((z2T((@6A@Ш@гM$boolz;T((z<T((@@U@@X@@N@TxzPRQ@QQ@@@Q@Q@#MMzOU((zPU()@:A@Ш@гQ$boolzYU()zZU() @@Y@@\@@Q@XxznVU@UU@@@U@U@#QQzmV)>)JznV)>)R@>A@Ш@гU$boolzwV)>)UzxV)>)Y@@].@@`@@T1@\xzZY@YY@@@Y@Y@#UUzX))zX))@BA@Ш@гY$charzX))zX))@@aL@@d@@WO@`xz^]@]]@@@]@]@#YYzY))zY)*@FA@Ш@г]$charzY)*zY)* @@ej@@h@@Zm@dyzȐba@aa@@@a@a@#]]zZ*5*AzZ*5*I@JA@Ш@гa$charzZ*5*LzZ*5*P@@i@@l@@]@hy9z搠fe@ee@@@e@e@#aaz[**z[**@NA@Ш@гe$charz[**z[**@@m@@p@@`@lyW{ji@ii@@@i@i@#ee{\**{\**@RA@Ш@гi$char{ \**{\**@@qİ@@t@@c@pyu{"nm@mm@@@m@m@#ii{!]++'{"]++-@VA@Ш@гm$char{+]++0{,]++4@@u@@x@@f@ty{@rq@qq@@@q@q@#mm{?^+l+x{@^+l+~@ZA@Ш@гq#int{I^+l+{J^+l+@@y@@|@@i@xy{^vu@uu@@@u@u@#qq{]`+, {^`+,@^A@Ш@гu#int{g`+,{h`+,@@}@@@@l!@|y{|zy@yy@@@y@y@#uu{{a,E,Q{|a,E,Y@bA@Ш@гy$char{a,E,\{a,E,`@@<@@@@o?@y{~}@}}@@@}@}@#yy{b,,{b,,@fA@Ш@г}$char{b,,{b,,@@Z@@@@r]@z {@@@@@@@A@}@@y}|@)tcgetattrԠ{e,,{e,,@б@гf4*file_descr{e,,{e,,@@ @@@3{{{{{{{{@|v@A@@г+terminal_io{e,,{e,-@@ @@@@@@@@@@@{e,, @zE w Return the status of the terminal referred to by the given file descriptor. @raise Invalid_argument on Windows {f--{i-U-}@@@@@@@|@@@zU|@@@@@@1A+,setattr_wheni|k--|k--@@;@@'TCSANOW֐@@|l--|l--@@|)@)TCSADRAINא@@|m--|m--@@|2@)TCSAFLUSHؐ@@|"n--|#n--@@|;@@@A@@@@@|&k--@@A@|>@@#@@@@@#|2m--@@@@@#|8n--@@@@@@A@@@3|7|6|6|7|7|7|7|7@o]@A@)tcsetattr٠|Ep--|Fp--@б@гf*file_descr|Pp--|Qp--@@ @@@3|R|Q|Q|R|R|R|R|R@UO@A@@б@г[,setattr_when|ap--|bp--@@ @@@@@б@г +terminal_io|pp--|qp--@@ @@@ @@г|*$unit|}p--|~p--@@ @@@-@@@@@0@@@%@@3( @@@9@@6<@@@|p--@z򐠠  Set the status of the terminal referred to by the given file descriptor. The second argument indicates when the status change takes place: immediately ([TCSANOW]), when all pending output has been transmitted ([TCSADRAIN]), or after flushing all input that has been received but not read ([TCSAFLUSH]). [TCSADRAIN] is recommended when changing the output parameters; [TCSAFLUSH], when changing the input parameters. @raise Invalid_argument on Windows |q--|z//@@@@@@@|@@!@{|@@@@@@U+tcsendbreakڠ||//||//@б@гg**file_descr||//||//@@ @@@3||||||||@n8@A@@б@г|#int||/0||/0@@ @@@@@г|$unit||/0 ||/0 @@ @@@@@@@@!@@@'@@$* @@@||//@{M Send a break condition on the given file descriptor. The second argument is the duration of the break, in 0.1s units; 0 means standard duration (0.25s). @raise Invalid_argument on Windows |}00|00@@@@@@@}@@@{]} @@@@@@C'tcdrain۠} 00}00@б@гg*file_descr}00}00@@ @@@3}}}}}}}}@\q8@A@@г|Ԡ$unit}'00}(00@@ @@@@@@@@@@@}200 @{ } Waits until all output written on the given file descriptor has been transmitted. @raise Invalid_argument on Windows }?00}@1W1@@@@@@@}X@@@{}S@@@@@@1A++flush_queuej}W11}X11@@;@@(TCIFLUSHݐ@@}a11}b11@@}z@(TCOFLUSHސ@@}j11}k11@@}@)TCIOFLUSHߐ@@}s11}t11@@}@@@A@@@@@}w11@@A@}@@#@@@@@#}11@@@@@#}11@@@@@@A@@@3}}}}}}}}@o]@A@'tcflush}11}11@б@гh*file_descr}11}11@@ @@@3}}}}}}}}@UO@A@@б@г[+flush_queue}11}11@@ @@@@@г}l$unit}11}11@@ @@@@@@@@!@@@'@@$* @@@}11@|1 F Discard data written on the given file descriptor but not yet transmitted, or data received but not yet read, depending on the second argument: [TCIFLUSH] flushes data received but not read, [TCOFLUSH] flushes data written but not transmitted, and [TCIOFLUSH] flushes both. @raise Invalid_argument on Windows }11}338@@@@@@@}@@@|A}@@@@@@CA++flow_actionk}3:3?}3:3J@@;@@&TCOOFF@@}3M3Q}3M3W@@~@%TCOON@@~3X3Z~3X3a@@~@&TCIOFF@@~3b3d~3b3l@@~'@%TCION@@~3m3o~3m3v@@~0@@@A@@@@@~3:3:@@A@~3@@#((&%@$@@@(@#$$~'3X3\"@!@@@%@#!!~-3b3f@@@@"@#~33m3q@@@@@@A@@@3~2~1~1~2~2~2~2~2@l@A @&tcflow~@3x3|~A3x3@б@гh*file_descr~K3x3~L3x3@@ @@@3~M~L~L~M~M~M~M~M@d^@A@@б@гj+flow_action~\3x3~]3x3@@ @@@@@г~$unit~i3x3~j3x3@@ @@@@@@@@!@@@'@@$* @@@~w3x3x@|ې L Suspend or restart reception or transmission of data on the given file descriptor, depending on the second argument: [TCOOFF] suspends output, [TCOON] restarts output, [TCIOFF] transmits a STOP character to suspend input, and [TCION] transmits a START character to restart input. @raise Invalid_argument on Windows ~33~44@@@@@@@~@@@|~@@@@@@C&setsid~44~45@б@г~S$unit~45~45 @@ @@@3~~~~~~~~@\q8@A@@г~#int~45~45@@ @@@@@@@@@@@~44 @}$ Put the calling process in a new session and detach it from its controlling terminal. @raise Invalid_argument on Windows ~55~5q5@@@@@@@~@@@}4~ᐠ@@@@@@1@}Q}KA@rLrFB@qq@qqs@q@q @pp@ppo@pOp(@po@oo@oToNA@nqnkA@mm@mm+@m l@ll>@lk@kk@kvk@jj@jj@jhjA@j!i@ii@iiyA@iXiC@i#i@hh@hhA@f6f0A@ee@ezeS@e3e @dd@doc@ccJ@c*b@bbb@aa@aha @``C@`_@__@__]@_=_@^^A@^C]@]]@]]F@]] A@[[A@Y(Y@XX@XXs@XSX,@W@SSFSlW@@S:R$@QQ@QQs@QSQ@PP@PPA@OO@OfO-@O N@NNW@N7N@MM@MuM7@ML@LL~@L^L7@LK@KK@KvK?@KJ@JJ@JJj@JJJ#@JIA@II@IIl@ILI%@IH@HHS@H3G@GGK@G+F@FlFE@F%E@EE@E}E @DD@DhD @DC@CC@BB@BBv@BVB@AA@AA\@A<A@@@@@@B@@?@??x@?X?1@>>@==A@<<@6@55@55@5i5(@54@44@4z4S@434 @33@33zA@22A@2A2@11@11i@1I1"@10@00@0t0M@0-0@//@//Z@/:/@..A@--A@-*-@,,@,,u@,U,.@,+@++A@++f@+F+@**@**@**@*`*K@*+*@))A@)0)*A@(f(`A@''@'j'C@'#&@&&+@& %@%%y@%Y% @$$A@$^$%@$#@##@#v#pA@# "@"!@!!L@!, @ @N@A@b\A@#A@A@X@@[@;@@h@@J@*@@b;@@A@A@.(A@yR@2 @@}@]6@@@c]A@!A@n@MGA@A@  v@ 1 +A@@A@H@@]@<6A@@A@Y @@@3@@A@ H************************************************************************A@@A@L@ H BMMBM@ H OCaml CC@ H DD3@ H Xavier Leroy, projet Cristal, INRIA Rocquencourt E44E4@ H FF@ H Copyright 1996 Institut National de Recherche en Informatique et GG@ H en Automatique. HHg@ H IhhIh@ H All rights reserved. This file is distributed under the terms of JJ@ H the GNU Lesser General Public License version 2.1, with the KKN@ H special exception on linking described in the file LICENSE. LOOLO@ H MM@ H************************************************************************NN5@ NOTE: If this file is unixLabels.mli, run tools/sync_stdlib_docs after editing it to generate unix.mli. If this file is unix.mli, do not edit it directly -- edit unixLabels.mli instead. P77V@ NOTE: When a new function is added which is not implemented on Windows (or partially implemented), or the Windows-status of an existing function is changed, remember to update the summary table in manual/src/library/libunix.etex X]@ W* Interface to the Unix system. To use the labeled version of this module, add [module Unix][ = ][UnixLabels] in your implementation. Note: all the functions of this module (except {!error_message} and {!handle_unix_error}) are liable to raise the {!Unix_error} exception whenever the underlying system call signals an error. 3* {1 Error report} z9* Argument list too long X4* Permission denied D .* Resource temporarily unavailable; try again 06* Bad file descriptor 7* Resource unavailable 3* No child process ~ * Resource deadlock would occur ~ࠠ (* Domain error for math functions, etc. ~̠.* File exists ~.* Bad address ~1* File too large ~ !* Function interrupted by signal ~|3* Invalid argument ~h5* Hardware I/O error ~T1* Is a directory ~@ %* Too many open files by the process ~,1* Too many links ~4* Filename too long ~ $* Too many open files in the system }1* No such device }ܠ<* No such file or directory }Ƞ9* Not an executable file }5* No locks available }4* Not enough memory }:* No space left on device }x9* Function not supported }d2* Not a directory }P6* Directory not empty }< &* Inappropriate I/O control operation }(<* No such device or address }:* Operation not permitted }.* Broken pipe |젠3* Result too large |ؠ8* Read-only file system |Ġ>* Invalid seek e.g. on a pipe |2* No such process |/* Invalid link |8* Operation would block |t<* Operation now in progress |` * Operation already in progress |L !* Socket operation on non-socket |8?* Destination address required |$3* Message too long | !* Protocol wrong type for socket {9* Protocol not available {蠠9* Protocol not supported {Ԡ<* Socket type not supported { $* Operation not supported on socket { * Protocol family not supported { 2* Address family not supported by protocol family {9* Address already in use {p !* Can't assign requested address {\2* Network is down {H9* Network is unreachable {4 &* Network dropped connection on reset { #* Software caused connection abort { ;* Connection reset by peer z<* No buffer space available z䠠>* Socket is already connected zР:* Socket is not connected z #* Can't send after socket shutdown z $* Too many references: can't splice z7* Connection timed out z5* Connection refused zl/* Host is down zX3* No route to host zD $* Too many levels of symbolic links z0 ** File size or position not representable z0* Unknown error z * The type of error codes. Errors defined in the POSIX standard and additional errors from UNIX98 and BSD. All other errors are mapped to EUNKNOWNERR. y s* Raised by the system calls below when an error is encountered. The first component is the error code; the second component is the function name; the third component is the string parameter to the function, if it has one, or the empty string otherwise. {!UnixLabels.Unix_error} and {!Unix.Unix_error} are the same, and catching one will catch the other. u 3* Return a string describing the given error code. t * [handle_unix_error f x] applies [f] to [x] and returns the result. If the exception {!Unix_error} is raised, it prints a message describing the error and exits with code 2. t[ (* {1 Access to the process environment} t@ * Return the process environment, as an array of strings with the format ``variable=value''. The returned array is empty if the process has special privileges. s =* Return the process environment, as an array of strings with the format ``variable=value''. Unlike {!environment}, this function returns a populated array even if the process has special privileges. See the documentation for {!unsafe_getenv} for more details. @since 4.06 (4.12 in UnixLabels) s * Return the value associated to a variable in the process environment, unless the process has special privileges. @raise Not_found if the variable is unbound or the process has special privileges. This function is identical to {!Sys.getenv}. s] * Return the value associated to a variable in the process environment. Unlike {!getenv}, this function returns the value even if the process has special privileges. It is considered unsafe because the programmer of a setuid or setgid program must be careful to avoid using maliciously crafted environment variables in the search path for executables, the locations for temporary files or logs, and the like. @raise Not_found if the variable is unbound. @since 4.06 s * [putenv name value] sets the value associated to a variable in the process environment. [name] is the name of the environment variable, and [value] its new associated value. r \* [unsetenv name] removes the variable [name] from the process environment. @since 5.5 ry7* {1 Process handling} r^ Y* The process terminated normally by [exit]; the argument is the return code. r7 T* The process was killed by a signal; the argument is the signal number. r U* The process was stopped by a signal; the argument is the signal number. q F* The termination status of a process. See {!Sys.signal} for the definitions of the standard signal numbers. On Windows: only [WEXITED] is used (as there are no inter-process signals) but with specific return codes to indicate special termination causes. Look for [NTSTATUS] values in the Windows documentation to decode such error return codes. In particular, [STATUS_ACCESS_VIOLATION] error code is the 32-bit [0xC0000005]: as [Int32.of_int 0xC0000005] is [-1073741819], [WEXITED -1073741819] is the Windows equivalent of [WSIGNALED Sys.sigsegv]. q f* Do not block if no child has died yet, but immediately return with a pid equal to 0. qc 6* Report also the children that receive stop signals. qO8* Flags for {!waitpid}. qA * [execv prog args] execute the program in file [prog], with the arguments [args], and the current process environment. Note that the first argument, [args.(0)], is by convention the filename of the program being executed, just like [Sys.argv.(0)]. These [execv*] functions never return: on success, the current program is replaced by the new one. On Windows: the CRT simply spawns a new process and exits the current one. This will have unwanted consequences if e.g. another process is waiting on the current one. Using {!create_process} or one of the [open_process_*] functions instead is recommended. @raise Unix_error on failure p h* Same as {!execv}, except that the third argument provides the environment to the program executed. p2 H* Same as {!execv}, except that the program is searched in the path. o͠ I* Same as {!execve}, except that the program is searched in the path. oG * Fork a new process. The returned integer is 0 for the child process, the pid of the child process for the parent process. It fails if the OCaml process is multi-core (any domain has been spawned). In addition, if any thread from the Thread module has been spawned, then the child process might be in a corrupted state. @raise Invalid_argument on Windows. Use {!create_process} or threads instead. @raise Failure if any domain has been spawned. o * Wait until one of the children processes die, and return its pid and termination status. @raise Invalid_argument on Windows. Use {!waitpid} instead. n * Same as {!wait}, but waits for the child process whose pid is given. A pid of [-1] means wait for any child. A pid of [0] means wait for any child in the same process group as the current process. Negative pid arguments represent process groups. The list of options indicates whether [waitpid] should return immediately without waiting, and whether it should report stopped children. On Windows: can only wait for a given PID, not any child process. n * Execute the given command, wait until it terminates, and return its termination status. The string is interpreted by the shell [/bin/sh] (or the command interpreter [cmd.exe] on Windows) and therefore can contain redirections, quotes, variables, etc. To properly quote whitespace and shell special characters occurring in file names or command arguments, the use of {!Filename.quote_command} is recommended. The result [WEXITED 127] indicates that the shell couldn't be executed. mڠ * Terminate the calling process immediately, returning the given status code to the operating system: usually 0 to indicate no errors, and a small positive integer to indicate failure. Unlike {!Stdlib.exit}, {!Unix._exit} performs no finalization whatsoever: functions registered with {!Stdlib.at_exit} are not called, input/output channels are not flushed, and the C run-time system is not finalized either. The typical use of {!Unix._exit} is after a {!Unix.fork} operation, when the child process runs into a fatal error and must exit. In this case, it is preferable to not perform any finalization action in the child process, as these actions could interfere with similar actions performed by the parent process. For example, output channels should not be flushed by the child process, as the parent process may flush them again later, resulting in duplicate output. @since 4.12 m !* Return the pid of the process. mP p* Return the pid of the parent process. @raise Invalid_argument on Windows (because it is meaningless) m * Change the process priority. The integer argument is added to the ``nice'' value. (Higher values of the ``nice'' value mean lower priorities.) Return the new nice value. @raise Invalid_argument on Windows lĠ>* {1 Basic file input/output} l )* The abstract type of file descriptors. l %* File descriptor for standard input.lY &* File descriptor for standard output.l% &* File descriptor for standard error. k3* Open for reading kĠ3* Open for writing k?* Open for reading and writing k<* Open in non-blocking mode k2* Open for append kt8* Create if nonexistent k` #* Truncate to 0 length if existing kL3* Fail if existing k8 (* Don't make this dev a controlling tty k$ f* Writes complete as `Synchronised I/O data integrity completion' k f* Writes complete as `Synchronised I/O file integrity completion' j ]* Reads complete as writes (depending on O_SYNC/O_DSYNC) j蠠 b* Windows only: allow the file to be deleted while still open jԠ * Set the close-on-exec flag on the descriptor returned by {!openfile}. See {!set_close_on_exec} for more information. j c* Clear the close-on-exec flag. This is currently the default. j<* The flags to {!openfile}. j o* The type of file access rights, e.g. [0o640] is read and write for user, read for group, none for others iq * Open the named file with the given flags. Third argument is the permissions to give to the file if it is created (see {!umask}). Return a file descriptor on the named file. h⠠;* Close a file descriptor. h D* Flush file buffers to disk. @since 4.08 (4.12 in UnixLabels) hV * [read fd buf pos len] reads [len] bytes from descriptor [fd], storing them in byte sequence [buf], starting at position [pos] in [buf]. Return the number of bytes actually read. gڠ E* Same as {!read}, but read the data into a bigarray. @since 5.2 g '* [write fd buf pos len] writes [len] bytes to descriptor [fd], taking them from byte sequence [buf], starting at position [pos] in [buff]. Return the number of bytes actually written. [write] repeats the writing operation until all bytes have been written or an error occurs. f F* Same as {!write}, but take the data from a bigarray. @since 5.2 eР * Same as {!write}, but attempts to write only once. Thus, if an error occurs, [single_write] guarantees that no data has been written. eT d* Same as {!write}, but take the data from a string instead of a byte sequence. @since 4.02 dؠ k* Same as {!single_write}, but take the data from a string instead of a byte sequence. @since 4.02 d\ M* Same as {!single_write}, but take the data from a bigarray. @since 5.2 c 9* {1 Interfacing with the standard input/output library} cz * Create an input channel reading from the given descriptor. The channel is initially in binary mode; use [set_binary_mode_in ic false] if text mode is desired. Text mode is supported only if the descriptor refers to a file or pipe, but is not supported if it refers to a socket. On Windows: {!Stdlib.set_binary_mode_in} always fails on channels created with this function. Beware that input channels are buffered, so more characters may have been read from the descriptor than those accessed using channel functions. Channels also keep a copy of the current position in the file. Closing the channel [ic] returned by [in_channel_of_descr fd] using [close_in ic] also closes the underlying descriptor [fd]. It is incorrect to close both the channel [ic] and the descriptor [fd]. If several channels are created on the same descriptor, one of the channels must be closed, but not the others. Consider for example a descriptor [s] connected to a socket and two channels [ic = in_channel_of_descr s] and [oc = out_channel_of_descr s]. The recommended closing protocol is to perform [close_out oc], which flushes buffered output to the socket then closes the socket. The [ic] channel must not be closed and will be collected by the GC eventually. cA * Create an output channel writing on the given descriptor. The channel is initially in binary mode; use [set_binary_mode_out oc false] if text mode is desired. Text mode is supported only if the descriptor refers to a file or pipe, but is not supported if it refers to a socket. On Windows: {!Stdlib.set_binary_mode_out} always fails on channels created with this function. Beware that output channels are buffered, so you may have to call {!Stdlib.flush} to ensure that all data has been sent to the descriptor. Channels also keep a copy of the current position in the file. Closing the channel [oc] returned by [out_channel_of_descr fd] using [close_out oc] also closes the underlying descriptor [fd]. It is incorrect to close both the channel [ic] and the descriptor [fd]. See {!Unix.in_channel_of_descr} for a discussion of the closing protocol when several channels are created on the same descriptor. b ;* Return the descriptor corresponding to an input channel. b <* Return the descriptor corresponding to an output channel. bo=* {1 Seeking and truncating} bT <* indicates positions relative to the beginning of the file b2 7* indicates positions relative to the current position b 6* indicates positions relative to the end of the file b "* Positioning modes for {!lseek}. a x* Set the current position for a file descriptor, and return the resulting offset (from the beginning of the file). a_ .* Truncates the named file to the given size. a Q* Truncates the file corresponding to the given descriptor to the given size. `2* {1 File status} `/* Regular file `r,* Directory `^3* Character device `J/* Block device `60* Symbolic link `"-* Named pipe `)* Socket _0* Device number _[/* Inode number _D3* Kind of the file _-0* Access rights _2* Number of links ^7* User id of the owner ^蠠?* Group ID of the file's group ^Ѡ>* Device ID (if special file) ^0* Size in bytes ^3* Last access time ^9* Last modification time ^u:* Last status change time ^^ 1* The information returned by the {!stat} calls. ^O -* Return the information for the named file. \ k* Same as {!stat}, but in case the file is a symbolic link, return the information for the link itself. \` O* Return the information for the file associated with the given descriptor. \ k* Return [true] if the given file descriptor refers to a terminal or console window, [false] otherwise. [Ԡ %* {1 File operations on large files} [/* See [lseek]. [K2* See [truncate]. Z3* See [ftruncate]. Z0* Device number Zk/* Inode number ZT3* Kind of the file Z=0* Access rights Z&2* Number of links Z7* User id of the owner Y?* Group ID of the file's group Yᠠ>* Device ID (if special file) Yʠ0* Size in bytes Y3* Last access time Y9* Last modification time Y:* Last status change time Yn * File operations on large files. This sub-module provides 64-bit variants of the functions {!lseek} (for positioning a file descriptor), {!truncate} and {!ftruncate} (for changing the size of a file), and {!stat}, {!lstat} and {!fstat} (for obtaining information on files). These alternate functions represent positions and sizes by 64-bit integers (type [int64]) instead of regular integers (type [int]), thus allowing operating on files whose sizes are greater than [max_int]. WU * {1 Mapping files into memory} WD? thwart tools/sync_stdlib_docs :`b b;`b b3@ * Memory mapping of a file as a Bigarray. [map_file fd kind layout shared dims] returns a Bigarray of kind [kind], layout [layout], and dimensions as specified in [dims]. The data contained in this Bigarray are the contents of the file referred to by the file descriptor [fd] (as opened previously with {!openfile}, for example). The optional [pos] parameter is the byte offset in the file of the data being mapped; it defaults to 0 (map from the beginning of the file). If [shared] is [true], all modifications performed on the array are reflected in the file. This requires that [fd] be opened with write permissions. If [shared] is [false], modifications performed on the array are done in memory only, using copy-on-write of the modified pages; the underlying file is not affected. {!map_file} is much more efficient than reading the whole file in a Bigarray, modifying that Bigarray, and writing it afterwards. To adjust automatically the dimensions of the Bigarray to the actual size of the file, the major dimension (that is, the first dimension for an array with C layout, and the last dimension for an array with Fortran layout) can be given as [-1]. {!map_file} then determines the major dimension from the size of the file. The file must contain an integral number of sub-arrays as determined by the non-major dimensions, otherwise [Failure] is raised. If all dimensions of the Bigarray are given, the file size is matched against the size of the Bigarray. If the file is larger than the Bigarray, only the initial portion of the file is mapped to the Bigarray. If the file is smaller than the big array, the file is automatically grown to the size of the Bigarray. This requires write permissions on [fd]. Array accesses are bounds-checked, but the bounds are determined by the initial call to [map_file]. Therefore, you should make sure no other process modifies the mapped file while you're accessing it, or a SIGBUS signal may be raised. This happens, for instance, if the file is shrunk. [Invalid_argument] or [Failure] may be raised in cases where argument validation fails. @since 4.06 V?* {1 Operations on file names} U렠 * Removes the named file. If the named file is a directory, raises: {ul {- [EPERM] on POSIX compliant system} {- [EISDIR] on Linux >= 2.1.132} {- [EACCESS] on Windows}} U [* [rename src dst] changes the name of a file from [src] to [dst], moving it between directories if needed. If [dst] already exists, its contents will be replaced with those of [src]. Depending on the operating system, the metadata (permissions, owner, etc) of [dst] can either be preserved or be replaced by those of [src]. UZ? thwart tools/sync_stdlib_docs LmmMmn@ 7* [link ?follow src dst] creates a hard link named [dst] to the file named [src]. @param follow indicates whether a [src] symlink is followed or a hardlink to [src] itself will be created. On {e Unix} systems this is done using the [linkat(2)] function. If [?follow] is not provided, then the [link(2)] function is used whose behaviour is OS-dependent, but more widely available. @raise ENOSYS On {e Unix} if [~follow:_] is requested, but linkat is unavailable. @raise ENOSYS On {e Windows} if [~follow:false] is requested. T * [realpath p] is an absolute pathname for [p] obtained by resolving all extra [/] characters, relative path segments and symbolic links. @since 4.13 T %* {1 File permissions and ownership} T2* Read permission Tl3* Write permission TX7* Execution permission TD.* File exists T0 * Flags for the {!access} call. T" ,* Change the permissions of the named file. S T* Change the permissions of an opened file. @raise Invalid_argument on Windows S. `* Change the owner uid and owner gid of the named file. @raise Invalid_argument on Windows RĠ `* Change the owner uid and owner gid of an opened file. @raise Invalid_argument on Windows RZ w* Set the process's file mode creation mask, and return the previous mask. @raise Invalid_argument on Windows R * Check that the process has the given permissions over the named file. On Windows: execute permission [X_OK] cannot be tested, just tests for read permission instead. @raise Unix_error otherwise. Q %* {1 Operations on file descriptors} Q? thwart tools/sync_stdlib_docs vuvvuv@ * Return a new file descriptor referencing the same file as the given descriptor. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. QF? thwart tools/sync_stdlib_docs wwww@ * [dup2 src dst] duplicates [src] to [dst], closing [dst] if already opened. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. P۠ d* Set the ``non-blocking'' flag on the given descriptor. When the non-blocking flag is set, reading on a descriptor on which there is temporarily no data available raises the [EAGAIN] or [EWOULDBLOCK] error instead of blocking; writing on a descriptor on which there is temporarily no room for writing also raises [EAGAIN] or [EWOULDBLOCK]. P R* Clear the ``non-blocking'' flag on the given descriptor. See {!set_nonblock}.PO |* Set the ``close-on-exec'' flag on the given descriptor. A descriptor with the close-on-exec flag is automatically closed when the current process starts another program with one of the [exec], [create_process] and [open_process] functions. It is often a security hole to leak file descriptors opened on, say, a private file to an external program: the program, then, gets access to the private file and can do bad things with it. Hence, it is highly recommended to set all file descriptors ``close-on-exec'', except in the very few cases where a file descriptor actually needs to be transmitted to another program. The best way to set a file descriptor ``close-on-exec'' is to create it in this state. To this end, the [openfile] function has [O_CLOEXEC] and [O_KEEPEXEC] flags to enforce ``close-on-exec'' mode or ``keep-on-exec'' mode, respectively. All other operations in the Unix module that create file descriptors have an optional argument [?cloexec:bool] to indicate whether the file descriptor should be created in ``close-on-exec'' mode (by writing [~cloexec:true]) or in ``keep-on-exec'' mode (by writing [~cloexec:false]). For historical reasons, the default file descriptor creation mode is ``keep-on-exec'', if no [cloexec] optional argument is given. This is not a safe default, hence it is highly recommended to pass explicit [cloexec] arguments to operations that create file descriptors. The [cloexec] optional arguments and the [O_KEEPEXEC] flag were introduced in OCaml 4.05. Earlier, the common practice was to create file descriptors in the default, ``keep-on-exec'' mode, then call [set_close_on_exec] on those freshly-created file descriptors. This is not as safe as creating the file descriptor in ``close-on-exec'' mode because, in multithreaded programs, a window of vulnerability exists between the time when the file descriptor is created and the time [set_close_on_exec] completes. If another thread spawns another program during this window, the descriptor will leak, as it is still in the ``keep-on-exec'' mode. Regarding the atomicity guarantees given by [~cloexec:true] or by the use of the [O_CLOEXEC] flag: on all platforms it is guaranteed that a concurrently-executing Caml thread cannot leak the descriptor by starting a new process. On Linux, this guarantee extends to concurrently-executing C threads. As of Feb 2017, other operating systems lack the necessary system calls and still expose a window of vulnerability during which a C thread can see the newly-created file descriptor in ``keep-on-exec'' mode. P X* Clear the ``close-on-exec'' flag on the given descriptor. See {!set_close_on_exec}.Oà2* {1 Directories} O @* Create a directory with the given permissions (see {!umask}). O]=* Remove an empty directory. O (* Change the process working directory. NѠ 4* Return the name of the current working directory. N M* Change the process root directory. @raise Invalid_argument on Windows NE 3* The type of descriptors over opened directories. N #* Open a descriptor on a directory Mנ n* Return the next entry in a directory. @raise End_of_file when the end of the directory has been reached. M >* Reposition the descriptor to the beginning of the directory MK * Close a directory descriptor. M=* {1 Pipes and redirections} Lꠠ? thwart tools/sync_stdlib_docs dd@ * Create a pipe. The first component of the result is opened for reading, that's the exit to the pipe. The second component is opened for writing, that's the entrance to the pipe. See {!set_close_on_exec} for documentation on the [cloexec] optional argument. L h* Create a named pipe with the given permissions (see {!umask}). @raise Invalid_argument on Windows L, 4* {1 High-level process and redirection management} L +* [create_process prog args stdin stdout stderr] creates a new process that executes the program in file [prog], with arguments [args]. Note that the first argument, [args.(0)], is by convention the filename of the program being executed, just like [Sys.argv.(0)]. The pid of the new process is returned immediately; the new process executes concurrently with the current process. The standard input and outputs of the new process are connected to the descriptors [stdin], [stdout] and [stderr]. Passing e.g. {!Unix.stdout} for [stdout] prevents the redirection and causes the new process to have the same standard output as the current process. The executable file [prog] is searched in the path. The new process has the same environment as the current process. K * [create_process_env prog args env stdin stdout stderr] works as {!create_process}, except that the extra argument [env] specifies the environment passed to the program. Jà ~* High-level pipe and process management. This function runs the given command in parallel with the program. The standard output of the command is redirected to a pipe, which can be read via the returned input channel. The command is interpreted by the shell [/bin/sh] (or [cmd.exe] on Windows), cf. {!system}. The {!Filename.quote_command} function can be used to quote the command and its arguments as appropriate for the shell being used. If the command does not need to be run through the shell, {!open_process_args_in} can be used as a more robust and more efficient alternative to {!open_process_in}. J} * Same as {!open_process_in}, but redirect the standard input of the command to a pipe. Data written to the returned output channel is sent to the standard input of the command. Warning: writes on output channels are buffered, hence be careful to call {!Stdlib.flush} at the right times to ensure correct synchronization. If the command does not need to be run through the shell, {!open_process_args_out} can be used instead of {!open_process_out}. J7 * Same as {!open_process_out}, but redirects both the standard input and standard output of the command to pipes connected to the two returned channels. The input channel is connected to the output of the command, and the output channel to the input of the command. If the command does not need to be run through the shell, {!open_process_args} can be used instead of {!open_process}. Iנ * Similar to {!open_process}, but the second argument specifies the environment passed to the command. The result is a triple of channels connected respectively to the standard output, standard input, and standard error of the command. If the command does not need to be run through the shell, {!open_process_args_full} can be used instead of {!open_process_full}. IE * [open_process_args prog args] runs the program [prog] with arguments [args]. Note that the first argument, [args.(0)], is by convention the filename of the program being executed, just like [Sys.argv.(0)]. The new process executes concurrently with the current process. The standard input and output of the new process are redirected to pipes, which can be respectively read and written via the returned channels. The input channel is connected to the output of the program, and the output channel to the input of the program. Warning: writes on output channels are buffered, hence be careful to call {!Stdlib.flush} at the right times to ensure correct synchronization. The executable file [prog] is searched for in the path. This behaviour changed in 4.12; previously [prog] was looked up only in the current directory. The new process has the same environment as the current process. @since 4.08 HĠ p* Same as {!open_process_args}, but redirects only the standard output of the new process. @since 4.08 H] o* Same as {!open_process_args}, but redirects only the standard input of the new process. @since 4.08 G * Similar to {!open_process_args}, but the third argument specifies the environment passed to the new process. The result is a triple of channels connected respectively to the standard output, standard input, and standard error of the program. @since 4.08 GC * Return the pid of a process opened via {!open_process_args_in} or the pid of the shell opened via {!open_process_in}. @since 4.08 (4.12 in UnixLabels) F * Return the pid of a process opened via {!open_process_args_out} or the pid of the shell opened via {!open_process_out}. @since 4.08 (4.12 in UnixLabels) F * Return the pid of a process opened via {!open_process_args} or the pid of the shell opened via {!open_process_args}. @since 4.08 (4.12 in UnixLabels) FW * Return the pid of a process opened via {!open_process_args_full} or the pid of the shell opened via {!open_process_full}. @since 4.08 (4.12 in UnixLabels) E栠 * Close channels opened by {!open_process_in}, wait for the associated command to terminate, and return its termination status. E * Close channels opened by {!open_process_out}, wait for the associated command to terminate, and return its termination status. EZ * Close channels opened by {!open_process}, wait for the associated command to terminate, and return its termination status. D * Close channels opened by {!open_process_full}, wait for the associated command to terminate, and return its termination status. D5* {1 Symbolic links} Dn? thwart tools/sync_stdlib_docs   <@ * [symlink ?to_dir src dst] creates the file [dst] as a symbolic link to the file [src]. On Windows, [~to_dir] indicates if the symbolic link points to a directory or a file; if omitted, [symlink] examines [src] using [stat] and picks appropriately, if [src] does not exist then [false] is assumed (for this reason, it is recommended that the [~to_dir] parameter be specified in new code). On Unix, [~to_dir] is ignored. Windows symbolic links are available in Windows Vista onwards. There are some important differences between Windows symlinks and their POSIX counterparts. Windows symbolic links come in two flavours: directory and regular, which designate whether the symbolic link points to a directory or a file. The type must be correct - a directory symlink which actually points to a file cannot be selected with chdir and a file symlink which actually points to a directory cannot be read or written (note that Cygwin's emulation layer ignores this distinction). When symbolic links are created to existing targets, this distinction doesn't matter and [symlink] will automatically create the correct kind of symbolic link. The distinction matters when a symbolic link is created to a non-existent target. The other caveat is that by default symbolic links are a privileged operation. Administrators will always need to be running elevated (or with UAC disabled) and by default normal user accounts need to be granted the SeCreateSymbolicLinkPrivilege via Local Security Policy (secpol.msc) or via Active Directory. {!has_symlink} can be used to check that a process is able to create symbolic links. D 3* Returns [true] if the user is able to create symbolic links. On Windows, this indicates that the user not only has the SeCreateSymbolicLinkPrivilege but is also running elevated, if necessary. On other platforms, this is simply indicates that the symlink system call is available. @since 4.03 Cʠ (* Read the contents of a symbolic link. C.* {1 Polling} Ci -* Wait until some input/output operations become possible on some channels. The three list arguments are, respectively, a set of descriptors to check for reading (first argument), for writing (second argument), or for exceptional conditions (third argument). The fourth argument is the maximal timeout, in seconds; a negative fourth argument means no timeout (unbounded wait). The result is composed of three sets of descriptors: those ready for reading (first component), ready for writing (second component), and over which an exceptional condition is pending (third component). On Windows, if one of descriptor lists exceeds [FD_SETSIZE] elements (64 by default), or if at least one non-socket file descriptor is used, the maximal timeout is capped to 2{^32} milliseconds. Bu.* {1 Locking} BZ2* Unlock a region B8 9* Lock a region for writing, and block if already locked B$ 7* Lock a region for writing, or fail if already locked B (* Test a region for other process locks A 9* Lock a region for reading, and block if already locked A蠠 7* Lock a region for reading, or fail if already locked AԠ9* Commands for {!lockf}. AƠ ?* [lockf fd mode len] puts a lock on a region of the file opened as [fd]. The region starts at the current read/write position for [fd] (as set by {!lseek}), and extends [len] bytes forward if [len] is positive, [len] bytes backwards if [len] is negative, or to the end of the file if [len] is zero. A write lock prevents any other process from acquiring a read or write lock on the region. A read lock prevents any other process from acquiring a write lock on the region, but lets other processes acquire read locks on it. The [F_LOCK] and [F_TLOCK] commands attempts to put a write lock on the specified region. The [F_RLOCK] and [F_TRLOCK] commands attempts to put a read lock on the specified region. If one or several locks put by another process prevent the current process from acquiring the lock, [F_LOCK] and [F_RLOCK] block until these locks are removed, while [F_TLOCK] and [F_TRLOCK] fail immediately with an exception. The [F_ULOCK] removes whatever locks the current process has on the specified region. Finally, the [F_TEST] command tests whether a write lock can be acquired on the specified region, without actually putting a lock. It returns immediately if successful, or fails otherwise. What happens when a process tries to lock a region of a file that is already locked by the same process depends on the OS. On POSIX-compliant systems, the second lock operation succeeds and may "promote" the older lock from read lock to write lock. On Windows, the second lock operation will block or fail. @ ~* {1 Signals} Note: installation of signal handlers is performed via the functions {!Sys.signal} and {!Sys.set_signal}. @۠  * [kill pid signal] sends signal number [signal] to the process with id [pid]. On Windows: only the {!Sys.sigkill} signal is emulated, causing the receiving process to exit with code [ERROR_PROCESS_ABORTED] (1067). Before OCaml 5.5, the receiving process exited with code 0. @ * [sigprocmask mode sigs] changes the set of blocked signals. If [mode] is [SIG_SETMASK], blocked signals are set to those in the list [sigs]. If [mode] is [SIG_BLOCK], the signals in [sigs] are added to the set of blocked signals. If [mode] is [SIG_UNBLOCK], the signals in [sigs] are removed from the set of blocked signals. [sigprocmask] returns the set of previously blocked signals. Each domain, and each thread when the [Thread] module is loaded, has its own signal mask. [sigprocmask] only changes the mask of the current domain or current thread. @raise Invalid_argument on Windows (no inter-process signals on Windows) ? * Return the set of blocked signals that are currently pending. @raise Invalid_argument on Windows (no inter-process signals on Windows) ?a * [sigsuspend sigs] atomically sets the blocked signals to [sigs] and waits for a non-ignored, non-blocked signal to be delivered. On return, the blocked signals are reset to their initial value. @raise Invalid_argument on Windows (no inter-process signals on Windows) ? * Wait until a non-ignored, non-blocked signal is delivered. @raise Invalid_argument on Windows (no inter-process signals on Windows) > * [sigwait sigs] waits until one of the signals in the list [sigs] becomes pending. It then removes this signal from the set of pending signals, and returns the number of this signal. Signal handlers attached to the signals in [sigs] will not be invoked. The signals [sigs] are expected to be blocked before calling [sigwait]. @since 5.4 @raise Invalid_argument on Windows (no inter-process signals on Windows) >V5* {1 Time functions} >;<* User time for the process >>* System time for the process = '* User time for the children processes =蠠 )* System time for the children processes =Ѡ 0* The execution times (CPU times) of a process. = 0* Seconds 0..60 =0* Minutes 0..59 =.* Hours 0..23 <렠5* Day of month 1..31 <Ԡ6* Month of year 0..11 <.* Year - 1900 <<* Day of week (Sunday is 0) <5* Day of year 0..365 ?* Bind a socket to an address. *栠 "* Connect a socket to an address. * x* Set up a socket for receiving connection requests. The integer argument is the maximal number of pending requests. *66* Close for receiving * 4* Close for sending )-* Close both )ᠠ '* The type of commands for [shutdown]. )Ӡ * Shutdown a socket connection. [SHUTDOWN_SEND] as second argument causes reads on the other end of the connection to return an end-of-file condition. [SHUTDOWN_RECEIVE] causes writes on the other end of the connection to return a closed pipe condition ([SIGPIPE] signal). )F ** Return the address of the given socket. ) @* Return the address of the host connected to the given socket. (!*hi@ =* The flags for {!recv}, {!recvfrom}, {!send} and {!sendto}. (~ (* Receive data from a connected socket. '͠ +* Receive data from an unconnected socket. ' %* Send data over a connected socket. &y b* Same as [send], but take the data from a string instead of a byte sequence. @since 4.02 %ܠ (* Send data over an unconnected socket. %- d* Same as [sendto], but take the data from a string instead of a byte sequence. @since 4.02 $~5* {1 Socket options} $c?* Record debugging information $A '* Permit sending of broadcast messages $- ** Allow reuse of local addresses for bind $9* Keep connection active $ )* Bypass the standard routing algorithms # !* Leave out-of-band data in line #ݠ -* Report whether socket listening is enabled #ɠ .* Control the Nagle algorithm for TCP sockets # 3* Forbid binding an IPv6 socket to an IPv4 address # 9* Allow reuse of address and port bindings. @since 4.12. # * The socket options that can be consulted with {!getsockopt} and modified with {!setsockopt}. These options have a boolean ([true]/[false]) value. #6* Size of send buffer ":* Size of received buffer " 0* Deprecated. Use {!getsockopt_error} instead. "g9* Report the socket type "S :* Minimum number of bytes to process for input operations "? ;* Minimum number of bytes to process for output operations "+ * The socket options that can be consulted with {!getsockopt_int} and modified with {!setsockopt_int}. These options have an integer value. " * Whether to linger on closed connections that have data present, and for how long (in seconds) !| * The socket options that can be consulted with {!getsockopt_optint} and modified with {!setsockopt_optint}. These options have a value of type [int option], with [None] meaning ``disabled''. !n?* Timeout for input operations !. * Timeout for output operations ! * The socket options that can be consulted with {!getsockopt_float} and modified with {!setsockopt_float}. These options have a floating-point value representing a time in seconds. The value 0 means infinite timeout. ! O* Return the current status of a boolean-valued option in the given socket.  <* Set or clear a boolean-valued option in the given socket.  & =* Same as {!getsockopt} for an integer-valued socket option. Π =* Same as {!setsockopt} for an integer-valued socket option. d P* Same as {!getsockopt} for a socket option whose value is an [int option].  P* Same as {!setsockopt} for a socket option whose value is an [int option].  X* Same as {!getsockopt} for a socket option whose value is a floating-point number. , X* Same as {!setsockopt} for a socket option whose value is a floating-point number.   Q* Return the error condition associated with the given socket, and clear it. m .* {1 High-level network connection functions} R /* Connect to a server at the given address. Return a pair of buffered channels connected to the server. Remember to call {!Stdlib.flush} on the output channel at the right times to ensure correct synchronization. The two channels returned by [open_connection] share a descriptor to a socket. Therefore, when the connection is over, you should call {!Stdlib.close_out} on the output channel, which will also close the underlying socket. Do not call {!Stdlib.close_in} on the input channel; it will be collected by the GC eventually.  N* ``Shut down'' a connection established with {!open_connection}; that is, transmit an end-of-file condition to the server reading on the other side of the connection. This does not close the socket and the channels used by the connection. See {!Unix.open_connection} for how to close them once the connection is over.  * Establish a server on the given address. The function given as first argument is called for each connection with two buffered channels connected to the client. A new process is created for each connection. The function {!establish_server} never returns normally. The two channels given to the function share a descriptor to a socket. The function does not need to close the channels, since this occurs automatically when the function returns. If the function prefers explicit closing, it should close the output channel using {!Stdlib.close_out} and leave the input channel unclosed, for reasons explained in {!Unix.in_channel_of_descr}. @raise Invalid_argument on Windows. Use threads instead. < "* {1 Host and protocol databases} ! 0* Structure of entries in the [hosts] database. ʠ 4* Structure of entries in the [protocols] database.  3* Structure of entries in the [services] database. v %* Return the name of the local host. ؠ ^* Find an entry in [hosts] with the given name. @raise Not_found if no such entry exists.  a* Find an entry in [hosts] with the given address. @raise Not_found if no such entry exists. L b* Find an entry in [protocols] with the given name. @raise Not_found if no such entry exists.  m* Find an entry in [protocols] with the given protocol number. @raise Not_found if no such entry exists.  a* Find an entry in [services] with the given name. @raise Not_found if no such entry exists. h k* Find an entry in [services] with the given service number. @raise Not_found if no such entry exists. 0* Socket domain ࠠ.* Socket type ɠ9* Socket protocol number ** Address 7* Canonical host name  2* Address information returned by {!getaddrinfo}. u !* Impose the given socket domain ?* Impose the given socket type =* Impose the given protocol z c* Do not call name resolver, expect numeric IP address f Z* Fill the [ai_canonname] field of the result R b* Set address to ``any'' address for use with {!bind} >=* Options to {!getaddrinfo}. 0 * [getaddrinfo host service opts] returns a list of {!addr_info} records describing socket parameters and addresses suitable for communicating with the given host and service. The empty list is returned if the host or service names are unknown, or the constraints expressed in [opts] cannot be satisfied. [host] is either a host name or the string representation of an IP address. [host] can be given as the empty string; in this case, the ``any'' address or the ``loopback'' address are used, depending whether [opts] contains [AI_PASSIVE]. [service] is either a service name or the string representation of a port number. [service] can be given as the empty string; in this case, the port field of the returned addresses is set to 0. [opts] is a possibly empty list of options that allows the caller to force a particular socket domain (e.g. IPv6 only or IPv4 only) or a particular socket type (e.g. TCP only or UDP only). =* Name or IP address of host  !* Name of service or port number נ ;* Host and service information returned by {!getnameinfo}. Ƞ "* Do not qualify local host names Z #* Always return host as IP address F )* Fail if host name cannot be determined 2 '* Always return service as port number  \* Consider the service as UDP-based instead of the default TCP  =* Options to {!getnameinfo}.  * [getnameinfo addr opts] returns the host name and service name corresponding to the socket address [addr]. [opts] is a possibly empty list of options that governs how these names are obtained. @raise Not_found if an error occurs. >9* {1 Terminal interface} # * The following functions implement the POSIX standard terminal interface. They provide control over asynchronous communication ports and pseudo-terminals. Refer to the [termios] man page for a complete description. - input modes a6!q!ub6!q!@>* Ignore the break condition.  '* Signal interrupt on break condition. ߠ (* Ignore characters with parity errors. Ƞ6* Mark parity errors.  * Enable parity check on input.  %* Strip 8th bit on input characters. 9* Map NL to CR on input. l6* Ignore CR on input. U9* Map CR to NL on input. > ** Recognize XON/XOFF characters on input. ' -* Emit XON/XOFF chars to control input flow. / Output modes: B$o$sB$o$@<* Enable output processing. 0 Control modes: D$$D$$@ .* Output baud rate (0 means close connection).3* Input baud rate. נ &* Number of bits per character (5-8). =* Number of stop bits (1-2). 8* Reception is enabled.  ** Enable parity generation and detection. { &* Specify odd parity instead of even. d9* Hang up on last close. M=* Ignore modem status lines. 6. Local modes: N'<'@N'<'R@ '* Generate signal on INTR, QUIT, SUSP. % \* Enable canonical processing (line buffering and editing)  (* Disable flush after INTR, QUIT, SUSP. 9* Echo input characters. ࠠ ,* Echo ERASE (to erase previous character). ɠ )* Echo KILL (to erase the current line).  %* Echo NL even if c_echo is not set. 5 Control characters: W))W))@ (* Interrupt character (usually ctrl-C).  #* Quit character (usually ctrl-\). s +* Erase character (usually DEL or ctrl-H). \ (* Kill line character (usually ctrl-U). E ** End-of-file character (usually ctrl-D). . .* Alternate end-of-line char. (usually none).  n* Minimum number of characters to read before the read request is satisfied.  %* Maximum read wait (in 0.1s units). 頠 $* Start character (usually ctrl-Q). Ҡ #* Stop character (usually ctrl-S).  x* Return the status of the terminal referred to by the given file descriptor. @raise Invalid_argument on Windows   * Set the status of the terminal referred to by the given file descriptor. The second argument indicates when the status change takes place: immediately ([TCSANOW]), when all pending output has been transmitted ([TCSADRAIN]), or after flushing all input that has been received but not read ([TCSAFLUSH]). [TCSADRAIN] is recommended when changing the output parameters; [TCSAFLUSH], when changing the input parameters. @raise Invalid_argument on Windows  Y * Send a break condition on the given file descriptor. The second argument is the duration of the break, in 0.1s units; 0 means standard duration (0.25s). @raise Invalid_argument on Windows   ~* Waits until all output written on the given file descriptor has been transmitted. @raise Invalid_argument on Windows  G* Discard data written on the given file descriptor but not yet transmitted, or data received but not yet read, depending on the second argument: [TCIFLUSH] flushes data received but not read, [TCOFLUSH] flushes data written but not transmitted, and [TCIOFLUSH] flushes both. @raise Invalid_argument on Windows  # M* Suspend or restart reception or transmission of data on the given file descriptor, depending on the second argument: [TCOOFF] suspends output, [TCOON] restarts output, [TCIOFF] transmits a STOP character to suspend input, and [TCION] transmits a START character to restart input. @raise Invalid_argument on Windows | * Put the calling process in a new session and detach it from its controlling terminal. @raise Invalid_argument on Windows 6@C,../../ocamlc)-nostdlib"-I,../../stdlib"-c(-absname"-w5+a-4-9-41-42-44-45-48+-warn-error"+A*-bin-annot"-g0-strict-sequence/-strict-formats)-nolabels L/builds/workspace/precheck/flambda/false/label/ocaml-linux-32/otherlibs/unix @@0ݓC im+v3@@@8CamlinternalFormatBasics0%FU(Q/Tu&Stdlib0Lku]8_٠0Stdlib__Bigarray03W^]hin@=V=@P?d@Z33uېvU@R˰%$9:xx@**ʰkk˰tt@.{@@MYܐZ(@nVA`@^(\@$ԓ$5;;p`oN@@^J]@* ްt> e e@0/߰55y{@1m13ABQ@::<|Y@#]#3@;v;5LmL@1d10M_M@@?DD@ >))@+$+8R8@#} @+<+@v?NN@@xPw@wrwH@'rs0@@@&ԓ%55\Ð\_]@ؕ 66<@ѰH(HIϐJ aa@; :@@./3JJ@ % d&'@pٓo@ƕҰr*rRX}@@x?a_a@AA@``po2_@dch}˰~@ggb@H|}@@@%C$23PP@|A@@z{.@\\հdbаww@ ưD\@st}@ { ǰ ؐ 6gՓg@@DE@~N;}:@  ɰj6yy@@7~7ʰ~F@$K$8@ , %$@b*ƕ-K- @41@@++@  44X`X@55>fBess@x~@fe@@ ѐ @-7-DŒDy<yv@@ҕ?װ]-]YsQsr@@>@W}b@7S6@-h-.@&R/jk5}LK~J~@YY[\@CDLFF+op@X@HRH@: :GfAe˰{Ő{@7e7@ ˓ ߰2M2[_[@aȐb@%[&_^}aaq˓p@&J5|@OaO@564dae@9~@##T@778AZo@J^.͓@  pLL@A@Z[%@G,Gаxx@LM~@-?-yDaD@"ː#&00@@2c&#?#@TT@1Œ2UސVrq_"@ܒ 2`2@@b@(e'11TU*`_hmnP@!U!rqrq~@@7k7nmo(@~-.>@  )*4@ss@@ ͒ ЕtB<AGCCPRSrqr&s@iiB@.ݐ/)JKG@P@@7TT԰aD`yzk@33a@~@9:p5po@԰`ΰA@@ ֐ X@t=teE`@(~'LLugOf@@"ϐ#<ed@G͓Gf@  22CD-T@HI@2k2E<<@('FGYTTSsr`@%%T@*+8@('̰KK`_>@(g'//@e.ʒ/)@ ѐ ȕа:;)}}@`a۰jyjܓ~@77I?`?@YZuuͰ9l@ؓE4͐49-8@%%@@<w@v!H!!!wx,@ ΐ!?P~PҰfeGpfp@@%%YvY@[t[)j iаB@V VEvSv@bbа|\|@9g9?S?[[L@WWQ@f-d@@@NOQRO@Ε&V??XhmgްB@@VzV@Pjjo@@@@@Z[-@TTKv̐wA@@99Cd{d@@<`#"#n&&Y Yf@'e&@@  88Hs:r4p9@UUB@i9i@ } j@zz@((=EbE@IH@ ܓ @88N@z@=@(@@1g!e@ڰ$%]%G'G@ < vts<@St"r@mߐnO@)@@X@@ԕ \]@BCX%X_@ b +@<=<>>Y@ba`@@P@@