Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 15 of 15) sorted by relevance

/curl/src/
H A Dtool_main.h37 # define STDIN_FILENO fileno(stdin)
41 # define STDOUT_FILENO fileno(stdout)
45 # define STDERR_FILENO fileno(tool_stderr)
H A Dtool_binmode.h31 # 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 Dtool_cb_wrt.c219 fhnd = _get_osfhandle(fileno(outs->stream)); in tool_write_cb()
221 if(isatty(fileno(outs->stream)) && in tool_write_cb()
H A Dtool_cb_hdr.c162 if(ftruncate(fileno(etag_save->stream), 0)) { in tool_header_cb()
H A Dtool_formparse.c128 int fd = fileno(stdin); in tool_mime_new_filedata()
H A Dtool_operate.c507 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 Dfileupload.c38 #define fileno _fileno macro
54 if(fstat(fileno(fd), &file_info) != 0) in main()
H A Danyauthput.c41 #define fileno _fileno macro
103 fstat(fileno(fp), &file_info); in main()
/curl/tests/server/
H A Dsockfilt.c164 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 Dlib541.c58 hd = fstat(fileno(hd_src), &file_info); in test()
H A Dlib505.c66 hd = fstat(fileno(hd_src), &file_info); in test()
H A Dlib525.c66 hd = fstat(fileno(hd_src), &file_info); in test()
H A Dlib582.c259 hd = fstat(fileno(hd_src), &file_info); in test()
/curl/lib/
H A Dfopen.c108 if(fstat(fileno(*fh), &sb) == -1 || !S_ISREG(sb.st_mode)) { in Curl_fopen()
H A Dtelnet.c1528 pfd[1].fd = fileno((FILE *)data->state.in); in telnet_do()

Completed in 43 milliseconds