package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.std/B0_std/Os/Fd/index.html
Module Os.FdSource
File descriptors operations.
unix_buffer_size is the value of the OCaml runtime system buffer size for I/O operations.
Source
val apply :
close:(Unix.file_descr -> unit) ->
Unix.file_descr ->
(Unix.file_descr -> 'a) ->
'aapply ~close fd f calls f fd and ensure close fd is is called whenever the function returns. Any Unix.Unix_error raised by close fd is ignored.
copy ~buf src ~dst reads src and writes it to dst using buf as a buffer; if unspecified a buffer of length unix_buffer_size is created for the call. Raise Unix.Unix_error if that happens
to_string fd reads fd to a string. Raises Unix.Unix_error in case of error.
read_file fn fd reads fd to a string assuming it is a file descriptor open on file path fn. Raises Failure in case of error with an error message that mentions fn.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>