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