Home
last modified time | relevance | path

Searched refs:ofd (Results 1 – 2 of 2) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dmod_compress.c414 int ifd, ofd; in deflate_file_to_file() local
465 if (-1 == (ofd = open(p->ofn->ptr, O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0600))) { in deflate_file_to_file()
486 close(ofd); in deflate_file_to_file()
500 close(ofd); in deflate_file_to_file()
515 close(ofd); in deflate_file_to_file()
550 r = write(ofd, p->b->ptr, p->b->used); in deflate_file_to_file()
566 close(ofd); in deflate_file_to_file()
H A Dmod_webdav.c664 int status = 0, ofd; in webdav_copy_file() local
672 …if (-1 == (ofd = open(dst->path->ptr, O_WRONLY|O_TRUNC|O_CREAT|(overwrite ? 0 : O_EXCL), WEBDAV_FI… in webdav_copy_file()
693 if (-1 == write(ofd, s.start, s.size)) { in webdav_copy_file()
705 close(ofd); in webdav_copy_file()