123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212open!CoreopenImporttypetmoduleInt63=structtypet[@@immediate64]letof_int_=assertfalseletto_int_=assertfalseendmoduleFLAGS=structtypet=intletempty=0let_=emptyletof_intx=xlet(+)=(lor)letmemab=alandb=aendmodulePoll_mask=structincludeFLAGSletpollin=0letpollout=0letpollerr=0letpollhup=0endmoduleClock=structtypet=|Boottime|RealtimeendmoduleStatx=structtypettypekind=[`Unknown|`Fifo|`Character_special|`Directory|`Block_device|`Regular_file|`Symbolic_link|`Socket]letcreate_=assertfalsemoduleFlags=structincludeFLAGSletempty=0letempty_path=0letno_automount=0letsymlink_nofollow=0letstatx_sync_as_stat=0letstatx_force_sync=0letstatx_dont_sync=0endmoduleAttr=structincludeFLAGSletcompressed=0letimmutable=0letappend=0letnodump=0letencrypted=0letverity=0(** Since Linux 5.8 *)letdax=0letcheck?mask:___=falseendmoduleMask=structincludeFLAGSlettype'=0letmode=0letnlink=0letuid=0letgid=0letatime=0letmtime=0letctime=0letino=0letsize=0letblocks=0letbasic_stats=0letbtime=0(** As of Linux 5.8 *)letmnt_id=0(** As of Linux 6.1 *)letdioalign=0letcheck__=falseendletblksize_=Int64.zeroletattributes_=Int64.zeroletnlink_=Int64.zeroletuid_=Int64.zeroletgid_=Int64.zeroletino_=Int64.zeroletsize_=Int64.zeroletblocks_=Int64.zeroletattributes_mask_=Int64.zeroletrdev_=Int64.zeroletdev_=Int64.zeroletmask_=Int64.zero(** See {! Mask.mnt_id}. *)letmnt_id_=Int64.zero(** See {! Mask.dioalign}. *)letdio_mem_align_=Int64.zero(** See {! Mask.dioalign}. *)letdio_offset_align_=Int64.zeroletatime_sec_=Int64.zeroletbtime_sec_=Int64.zeroletctime_sec_=Int64.zeroletmtime_sec_=Int64.zeroletatime_nsec_=0letbtime_nsec_=0letctime_nsec_=0letmtime_nsec_=0letmode_=0letperm_=0letkind_=`UnknownendmoduleSyscall_result=structtypet=(int,Unix.Error.t)Result.t[@@derivingsexp_of]endmoduleHandle=structtypetletinvariant_=()end(** Flags that can be passed to openat2. *)moduleOpen_flags=structincludeFLAGSletempty=0letappend=0letcloexec=0letcreat=0letdirect=0letdirectory=0letdsync=0letexcl=0letlargefile=0letnoatime=0letnoctty=0letnofollow=0letnonblock=0letpath=0letsync=0lettmpfile=0lettrunc=0end(** Flags that can be passed to openat2 to control path resolution. *)moduleResolve=structincludeFLAGSletempty=0letbeneath=0letin_root=0letno_magiclinks=0letno_symlinks=0letno_xdev=0letcached=0endletcreate?polling_timeout:_~queue_depth:_()=Or_error.unimplemented"Io_uring_raw.create";;letexit_=assertfalseletsupports_ext_arg_=assertfalseletsubmit_=assertfalseletcqe_ready_~timeout:_=assertfalseletfill_completions_=assertfalseletnoop_=assertfalseletread_=assertfalseletwrite_=assertfalseletreadv_=assertfalseletwritev_=assertfalseletpoll_add_=assertfalseletopenat2_=assertfalseletclose_=assertfalseletunlink_=assertfalseletlink_=assertfalselettimeout_=assertfalseletstatx_=assertfalseletcancel_=assertfalseletsyscall_result_=assertfalseletregister_eventfd_=assertfalse