Searched refs:ts_fd (Results 1 - 6 of 6) sorted by relevance
/libmicro/ |
H A D | isatty.c | 47 int ts_fd; member in struct:__anon14 88 ts->ts_fd = ((optb == 0) ? 90 if (ts->ts_fd == -1) { 103 if (isatty(ts->ts_fd) == -1) {
|
H A D | write.c | 44 int ts_fd; member in struct:__anon49 110 ts->ts_fd = open(optf, O_WRONLY); 114 (void) directio(ts->ts_fd, DIRECTIO_ON); 125 (void) lseek(ts->ts_fd, 0, SEEK_SET); 137 if (write(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | lseek.c | 54 int ts_fd; member in struct:__anon18 97 ts->ts_fd = open(optf, O_RDONLY); 110 if (lseek(ts->ts_fd, 0L, SEEK_SET) != 0) { 113 if (lseek(ts->ts_fd, opts, SEEK_SET) != opts) {
|
H A D | read.c | 45 int ts_fd; member in struct:__anon36 108 ts->ts_fd = open(optf, O_RDONLY); 111 (void) lseek(ts->ts_fd, 0, SEEK_SET); 123 if (read(ts->ts_fd, ts->ts_buf, opts) != opts) {
|
H A D | setsockopt.c | 47 int ts_fd; member in struct:__anon38 66 if ((ts->ts_fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) 76 (void) close(ts->ts_fd); 91 if (setsockopt(ts->ts_fd, IPPROTO_TCP, TCP_NODELAY,
|
H A D | writev.c | 47 int ts_fd; member in struct:__anon50 108 ts->ts_fd = open(optf, O_WRONLY); 109 if (ts->ts_fd == -1) { 120 (void) lseek(ts->ts_fd, 0, SEEK_SET); 132 if (writev(ts->ts_fd, ts->ts_iov, optv) != opts * optv) {
|
Completed in 10 milliseconds