Searched refs:fileno (Results 1 – 15 of 15) sorted by relevance
/curl/src/ |
H A D | tool_main.h | 37 # define STDIN_FILENO fileno(stdin) 41 # define STDOUT_FILENO fileno(stdout) 45 # define STDERR_FILENO fileno(tool_stderr)
|
H A D | tool_binmode.h | 31 # define CURL_SET_BINMODE(stream) (void)_setmode(fileno(stream), O_BINARY) 33 # define CURL_SET_BINMODE(stream) (void)setmode(fileno(stream), O_BINARY)
|
H A D | tool_cb_wrt.c | 219 fhnd = _get_osfhandle(fileno(outs->stream)); in tool_write_cb() 221 if(isatty(fileno(outs->stream)) && in tool_write_cb()
|
H A D | tool_cb_hdr.c | 162 if(ftruncate(fileno(etag_save->stream), 0)) { in tool_header_cb()
|
H A D | tool_formparse.c | 128 int fd = fileno(stdin); in tool_mime_new_filedata()
|
H A D | tool_operate.c | 507 rc = fwrite_xattr(curl, per->url, fileno(outs->stream)); in post_per_transfer() 682 if(ftruncate(fileno(outs->stream), outs->init)) { in post_per_transfer() 2289 isatty(fileno(outs->stream))) in single_transfer()
|
/curl/docs/examples/ |
H A D | fileupload.c | 38 #define fileno _fileno macro 54 if(fstat(fileno(fd), &file_info) != 0) in main()
|
H A D | anyauthput.c | 41 #define fileno _fileno macro 103 fstat(fileno(fp), &file_info); in main()
|
/curl/tests/server/ |
H A D | sockfilt.c | 164 if(fd == fileno(stdin)) { in read_wincon() 196 if(fd == fileno(stdout)) { in write_wincon() 199 else if(fd == fileno(stderr)) { in write_wincon() 333 ssize_t nread = fullread(fileno(stdin), buffer, nbytes); in read_stdin() 722 if(fd == fileno(stdin)) { in select_ws() 739 else if(fd == fileno(stdout)) { in select_ws() 743 else if(fd == fileno(stderr)) { in select_ws() 829 if(fd == fileno(stdin)) { in select_ws() 834 else if(fd == fileno(stdout) || fd == fileno(stderr)) { in select_ws() 1005 FD_SET((curl_socket_t)fileno(stdin), &fds_read); in juggle() [all …]
|
/curl/tests/libtest/ |
H A D | lib541.c | 58 hd = fstat(fileno(hd_src), &file_info); in test()
|
H A D | lib505.c | 66 hd = fstat(fileno(hd_src), &file_info); in test()
|
H A D | lib525.c | 66 hd = fstat(fileno(hd_src), &file_info); in test()
|
H A D | lib582.c | 259 hd = fstat(fileno(hd_src), &file_info); in test()
|
/curl/lib/ |
H A D | fopen.c | 108 if(fstat(fileno(*fh), &sb) == -1 || !S_ISREG(sb.st_mode)) { in Curl_fopen()
|
H A D | telnet.c | 1528 pfd[1].fd = fileno((FILE *)data->state.in); in telnet_do()
|
Completed in 78 milliseconds