Lines Matching refs:nbyte
411 _rmt_read(int fildes, void *buf, size_t nbyte) in _rmt_read() argument
421 (void)snprintf(buffer, sizeof buffer, "R%zu\n", nbyte); in _rmt_read()
425 if (rv > (int)nbyte) in _rmt_read()
426 rv = (int)nbyte; in _rmt_read()
444 _rmt_write(int fildes, const void *buf, size_t nbyte) in _rmt_write() argument
451 (void)snprintf(buffer, sizeof buffer, "W%zu\n", nbyte); in _rmt_write()
456 if ((size_t)write(WRITE(fildes), buf, nbyte) == nbyte) { in _rmt_write()
684 rmtread(int fildes, void *buf, size_t nbyte) in rmtread() argument
690 return _rmt_read(fildes - REM_BIAS, buf, nbyte); in rmtread()
692 return read(fildes, buf, nbyte); in rmtread()
701 rmtwrite(int fildes, const void *buf, size_t nbyte) in rmtwrite() argument
707 return _rmt_write(fildes - REM_BIAS, buf, nbyte); in rmtwrite()
709 return write(fildes, buf, nbyte); in rmtwrite()