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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dremove.c40 remove(const char *file) argument
44 if (lstat(file, &st) < 0)
47 return (rmdir(file));
48 return (unlink(file));
H A Dfreopen.c45 * Re-direct an existing, open (probably) file to some other file.
46 * ANSI is written such that the original file gets closed if at
50 freopen(const char *file, const char *mode, FILE *fp) argument
68 * Remember whether the stream was open to begin with, and which file
71 * should work. This is unnecessary if it was not a Unix file.
89 /* Get a new descriptor to refer to the new file. */
90 f = open(file, oflags, DEFFILEMODE);
96 f = open(file, oflags, DEFFILEMODE);
132 * If reopening something that was open before on a real file, tr
[all...]
/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);
39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument
40 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
/bionic/libc/upstream-freebsd/lib/libc/stdio/
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/dns/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.c145 fp_resstat(const res_state statp, FILE *file) { argument
148 fprintf(file, ";; res options:");
151 fprintf(file, " %s", p_option(mask));
152 putc('\n', file);
159 int pflag, FILE *file)
176 fprintf(file, ";; memory allocation failure\n");
185 fprintf(file, ";; ns_parserr: %s\n",
189 putc('\n', file);
193 fprintf(file, ";; %s SECTION:\n",
196 fprintf(file, ";;\
157 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument
287 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) argument
359 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) argument
373 p_cdname(const u_char *cp, const u_char *msg, FILE *file) argument
402 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
1287 fprintf(file, "res_send: %s ([%s].%s): %s\n",
1294 Perror(const res_state statp, FILE *file, const char *string, int error) { argument
1298 fprintf(file, "res_send: %s: %s\n",
/bionic/libc/upstream-netbsd/lib/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::__anon908

Completed in 8608 milliseconds