Lines Matching refs:fd
588 httpd_set_ndelay( int fd )
592 flags = fcntl( fd, F_GETFL, 0 );
597 (void) fcntl( fd, F_SETFL, newflags );
604 httpd_clear_ndelay( int fd )
608 flags = fcntl( fd, F_GETFL, 0 );
613 (void) fcntl( fd, F_SETFL, newflags );
3420 ** fd, and all of those are set to close-on-exec, so we don't
3427 ** below don't screw things up. We arbitrarily pick fd 3 - if there
3429 ** since at this point the only fd of interest is the connection.
3547 ** closed - the last fd duped from the socket. What a mess. So we'll
4251 httpd_read_fully( int fd, void* buf, size_t nbytes )
4260 r = read( fd, (char*) buf + nread, nbytes - nread );
4279 httpd_write_fully( int fd, const char* buf, size_t nbytes )
4288 r = write( fd, buf + nwritten, nbytes - nwritten );