read() attempts to read nbyte of data to the object referenced by the
descriptor fd from a buffer. read() performs the same
action, but scatters the input data from the iovcnt buffers specified by the
members of the iov array: iov[0], iov[1], ..., iov[iovcnt-1].
Shrink or grow a block of memory to the given new_size. The block is described by the given
ptr pointer and layout. If this returns a non-null pointer, then ownership of the memory block
referenced by ptr has been transferred to this allocator. The memory may or may not have been
deallocated, and should be considered unusable (unless of course it was transferred back to the
caller again via the return value of this method). The new memory block is allocated with
layout, but with the size updated to new_size.
If this method returns null, then ownership of the memory block has not been transferred to this
allocator, and the contents of the memory block are unaltered.
Create a cryptographicly secure 32bit random number with the support of
the underlying hardware. If the required hardware isn’t available,
the function returns -1.
Create a cryptographicly secure 64bit random number with the support of
the underlying hardware. If the required hardware isn’t available,
the function returns -1.
write() attempts to write nbyte of data to the object referenced by the
descriptor fd from a buffer. writev() performs the same
action, but gathers the output data from the iovcnt buffers specified by the
members of the iov array: iov[0], iov[1], ..., iov[iovcnt-1].