Name

ap_bpushfd — set the file descriptors for a stream

Synopsis

void ap_bpushfd(BUFF *fb, int fd_in, int fd_out)

Sets the read file descriptor to fd_in and the write file descriptor to fd_out. Use -1 for file descriptors you don’t want to set. Note that these descriptors must be readable with read() and writable with write( ).