read
Read up to count bytes into buffer at offset from the TTY. The number of bytes read will be returned. 0 will be returned if interruptRead is called while waiting for data. -1 will be returned if the TTY is not interactive.
See also
Read up to count bytes into buffer at offset from the TTY. The number of bytes read will be returned. 0 will be returned if interruptRead is called while waiting for data. -1 will be returned if the TTY is not interactive.
See also
Read up to count bytes into buffer at offset from the TTY. The number of bytes read will be returned. 0 will be returned if interruptRead is called while waiting for data. -1 will be returned if the TTY is not interactive.