write function

  1. @Native<Long Function(Int, Pointer<Void>, Size)>(Int, Pointer<Void>, Size)>(isLeaf: true)
int write(
  1. int fd,
  2. Pointer<Void> buf,
  3. int count
)

write(2): writes at most count bytes of buf to fd; how many, or -1. A leaf call, like read.

Implementation

@Native<Long Function(Int, Pointer<Void>, Size)>(isLeaf: true)
external int write(int fd, Pointer<Void> buf, int count);