Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 10 of 10) sorted by relevance

/curl/src/
H A Dtool_binmode.c42 #ifdef O_BINARY in set_binmode()
44 _setmode(stream, O_BINARY); in set_binmode()
46 (void)_setmode(fileno(stream), O_BINARY); in set_binmode()
48 (void)setmode(fileno(stream), O_BINARY); in set_binmode()
H A Dtool_cb_wrt.c42 #ifndef O_BINARY
43 #define O_BINARY 0 macro
72 fd = open(fname, O_CREAT | O_WRONLY | O_EXCL | O_BINARY, OPENMODE); in tool_create_output_file()
99 fd = open(newname, O_CREAT | O_WRONLY | O_EXCL | O_BINARY, OPENMODE); in tool_create_output_file()
H A Dtool_operate.c114 #ifndef O_BINARY
117 # define O_BINARY 0 macro
382 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
385 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY, in pre_transfer()
391 per->infd = open(per->uploadfile, O_RDONLY | O_BINARY); in pre_transfer()
/curl/tests/libtest/
H A Dfirst.c144 #ifdef O_BINARY in main()
146 _setmode(stdout, O_BINARY); in main()
148 setmode(fileno(stdout), O_BINARY); in main()
/curl/lib/
H A Dfile.c212 fd = open_readonly(actual_path, O_RDONLY|O_BINARY); in file_connect()
321 #ifdef O_BINARY in file_upload()
322 #define MODE_DEFAULT O_WRONLY|O_CREAT|O_BINARY in file_upload()
/curl/tests/server/
H A Dmqttd.c1025 setmode(fileno(stdin), O_BINARY); in main()
1026 setmode(fileno(stdout), O_BINARY); in main()
1027 setmode(fileno(stderr), O_BINARY); in main()
H A Dsocksd.c1081 setmode(fileno(stdin), O_BINARY); in main()
1082 setmode(fileno(stdout), O_BINARY); in main()
1083 setmode(fileno(stderr), O_BINARY); in main()
H A Dsockfilt.c1473 setmode(fileno(stdin), O_BINARY); in main()
1474 setmode(fileno(stdout), O_BINARY); in main()
1475 setmode(fileno(stderr), O_BINARY); in main()
H A Dtftpd.c458 test->ofile = open(outfile, O_CREAT|O_RDWR|O_BINARY, 0777); in write_behind()
/curl/lib/vquic/
H A Dvquic.c56 #ifdef O_BINARY
57 #define QLOGMODE O_WRONLY|O_CREAT|O_BINARY

Completed in 25 milliseconds