Searched defs:file (Results 1 - 8 of 8) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/stdio/
H A Dremove.c45 remove(const char *file) argument
49 if (lstat(file, &sb) < 0)
52 return (rmdir(file));
53 return (unlink(file));
H A Dfopen.c52 fopen(const char * __restrict file, const char * __restrict mode) argument
62 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) {
68 * If we get a valid file descriptor that is greater than
70 * invalid file descriptor. Handle this case by failing the
90 * the file extends, this will fail, but there is not much
/bionic/libc/bionic/
H A Dassert.cpp35 void __assert(const char* file, int line, const char* failed_expression) { argument
36 __libc_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression);
40 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument
41 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
/bionic/libc/stdio/
H A Dfreopen.c46 * Re-direct an existing, open (probably) file to some other file.
47 * ANSI is written such that the original file gets closed if at
51 freopen(const char *file, const char *mode, FILE *fp) argument
69 * Remember whether the stream was open to begin with, and which file
72 * should work. This is unnecessary if it was not a Unix file.
90 /* Get a new descriptor to refer to the new file. */
91 f = open(file, oflags, DEFFILEMODE);
97 f = open(file, oflags, DEFFILEMODE);
133 * If reopening something that was open before on a real file, tr
[all...]
/bionic/libc/netbsd/resolv/
H A Dres_data.c156 fp_query(const u_char *msg, FILE *file) { argument
157 fp_nquery(msg, PACKETSZ, file);
161 fp_nquery(const u_char *msg, int len, FILE *file) { argument
165 res_pquery(&_nres, msg, len, file);
H A Dres_debug.c147 fp_resstat(const res_state statp, FILE *file) { argument
150 fprintf(file, ";; res options:");
153 fprintf(file, " %s", p_option(mask));
154 putc('\n', file);
161 int pflag, FILE *file)
178 fprintf(file, ";; memory allocation failure\n");
187 fprintf(file, ";; ns_parserr: %s\n",
191 putc('\n', file);
195 fprintf(file, ";; %s SECTION:\n",
198 fprintf(file, ";;\
159 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument
242 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) argument
314 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) argument
328 p_cdname(const u_char *cp, const u_char *msg, FILE *file) argument
359 p_fqname(const u_char *cp, const u_char *msg, FILE *file) argument
[all...]
H A Dres_send.c1272 Aerror(const res_state statp, FILE *file, const char *string, int error, argument
1289 fprintf(file, "res_send: %s ([%s].%s): %s\n",
1296 Perror(const res_state statp, FILE *file, const char *string, int error) { argument
1300 fprintf(file, "res_send: %s: %s\n",
/bionic/libc/upstream-netbsd/libc/isc/
H A Deventlib_p.h20 /*! \file
84 #define EV_CONN_SELECTED 0x0002 /*%< evSelectFD(conn->file). */
86 evFileID file; member in struct:evConn
129 evFileID file; member in struct:evStream
172 struct { evFile *this; int eventmask; } file; member in union:evEvent_p::__anon678

Completed in 191 milliseconds