You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wrapper around writev (writeVector) is the second non-socket-specific function that has showed up in this library. It should live in a module that makes it clear that it can be used on not only sockets but also files. In this same module should live the wrappers around write, pwrite, read, and pread. Should lseek (which is specific to block devices and does not work on files) also live here or not? I'm not sure. I'm thinking of:
Posix
Socket (send, recv, etc.)
File (lseek, read, write, etc.)
Directory (getcwd, etc.)
The text was updated successfully, but these errors were encountered:
The wrapper around
writev
(writeVector
) is the second non-socket-specific function that has showed up in this library. It should live in a module that makes it clear that it can be used on not only sockets but also files. In this same module should live the wrappers aroundwrite
,pwrite
,read
, andpread
. Shouldlseek
(which is specific to block devices and does not work on files) also live here or not? I'm not sure. I'm thinking of:The text was updated successfully, but these errors were encountered: