Home | History | Annotate | Download | only in auxprogs

Lines Matching refs:sd

527 static void set_blocking ( int sd )
530 res = fcntl(sd, F_GETFL);
531 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK);
540 static void set_nonblocking ( int sd
543 res = fcntl(sd, F_GETFL);
544 res = fcntl(sd, F_SETFL, res | O_NONBLOCK);
697 Int sd = conn_state[conn_no].conn_sd;
701 { Int r = my_read(sd, &rd_first8[0], 8);
715 Int r = my_read(sd, req->data, req->n_data);
899 Int r = my_write(sd, &wr_first8[0], 8);
902 r = my_write(sd, res->data, res->n_data);
961 static int read_from_sd ( int sd )
966 set_blocking(sd);
967 n = read(sd, buf, 99);
971 set_nonblocking(sd);
973 n = read(sd, buf, 100);
1159 /* ok, we have someone waiting to connect. Get the sd. */