sendmsg icon indicating copy to clipboard operation
sendmsg copied to clipboard

operations without ancillary data/fd

Open UnixJunkie opened this issue 5 years ago • 0 comments

If there is some overhead related to the ancillary optional fd, would it be possible to have:

val Sendmsg.recv_no_fd: Unix.file_descr -> bytes -> int -> int -> int
val Sendmsg.send_no_fd: Unix.file_descr -> bytes -> int -> int -> int

Some users really have no use for this optional file_descr result (they never send one and so never expect to receive one).

UnixJunkie avatar Mar 24 '20 06:03 UnixJunkie