Jacket
Search the docs
/
API
Tools
Playground
main
Io module
← Io
Platform
c_socket
c_bind
c_listen
c_connect
c_accept
c_getsockname
c_getpeername
c_setsockopt
c_getsockopt
c_shutdown
c_send
c_recv
c_read
c_write
c_pread
c_pwrite
c_open
c_close
c_unlink
c_fcntl
c_pipe
c_sysconf
c_lseek
c_errno
c_accept4
On this page
See also
std
/
Extensions
/
Io
/
c_pread
c_pread
procedure
foreign
extension
experimental
macOS, Linux only
Source
c_pread
:: (fd:
s32
, buffer: *
void
, length:
u64
, offset:
s64
) ->
s64
#foreign
Parameters
fd
:
s32
buffer
:
*
void
length
:
u64
offset
:
s64
Returns
s64
See also
c_read
c_write
c_pwrite
c_open