Home | History | Annotate | Download | only in auxprogs

Lines Matching defs:sd

525 static void set_blocking ( int sd )
528 res = fcntl(sd, F_GETFL);
529 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK);
538 static void set_nonblocking ( int sd )
541 sd, F_GETFL);
542 res = fcntl(sd, F_SETFL, res | O_NONBLOCK);
695 Int sd = conn_state[conn_no].conn_sd;
699 { Int r = my_read(sd, &rd_first8[0], 8);
713 Int r = my_read(sd, req->data, req->n_data);
897 Int r = my_write(sd, &wr_first8[0], 8);
900 r = my_write(sd, res->data, res->n_data);
959 static int read_from_sd ( int sd )
964 set_blocking(sd);
965 n = read(sd, buf, 99);
969 set_nonblocking(sd);
971 n = read(sd, buf, 100);
1157 /* ok, we have someone waiting to connect. Get the sd. */