/bionic/libc/stdio/ |
H A D | remove.c | 40 remove(const char *file) argument 44 if (lstat(file, &st) < 0) 47 return (rmdir(file)); 48 return (unlink(file));
|
H A D | fopen.c | 43 fopen(const char *file, const char *mode) argument 53 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { 69 * the file extends, this will fail, but there is not much
|
H A D | freopen.c | 44 * Re-direct an existing, open (probably) file to some other file. 45 * ANSI is written such that the original file gets closed if at 49 freopen(const char *file, const char *mode, FILE *fp) argument 65 * Remember whether the stream was open to begin with, and which file 68 * should work. This is unnecessary if it was not a Unix file. 86 /* Get a new descriptor to refer to the new file. */ 87 f = open(file, oflags, DEFFILEMODE); 93 f = open(file, oflags, DEFFILEMODE); 128 * If reopening something that was open before on a real file, tr [all...] |
H A D | flockfile.c | 47 * file is locked is totally undefined. 56 FILE* file; member in struct:FileLock 108 if (node == NULL || node->file == f) 134 lock->file = fp; 193 /* called from fclose() to remove the file lock */ 205 lock->file = NULL;
|
/bionic/libc/stdlib/ |
H A D | assert.c | 37 __assert(const char *file, int line, const char *failedexpr) argument 40 "assertion \"%s\" failed: file \"%s\", line %d\n", 41 failedexpr, file, line); 47 __assert2(const char *file, int line, const char *func, const char *failedexpr) argument 50 "assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"\n", 51 failedexpr, file, line, func);
|
H A D | sha1hash.c | 25 Since the file IO in main() reads 16K at a time, any file 8K or larger would 294 FILE* file; local 297 file = stdin; 300 if (!(file = fopen(argv[1], "rb"))) { 301 fputs("Unable to open file.", stderr); 306 while (!feof(file)) { /* note: what if ferror(file) */ 307 i = fread(buffer, 1, 16384, file); 311 fclose(file); [all...] |
/bionic/libc/netbsd/resolv/ |
H A D | res_data.c | 161 fp_query(const u_char *msg, FILE *file) { argument 162 fp_nquery(msg, PACKETSZ, file); 166 fp_nquery(const u_char *msg, int len, FILE *file) { argument 170 res_pquery(&_nres, msg, len, file);
|
H A D | res_debug.c | 146 fp_resstat(const res_state statp, FILE *file) { argument 149 fprintf(file, ";; res options:"); 152 fprintf(file, " %s", p_option(mask)); 153 putc('\n', file); 160 int pflag, FILE *file) 177 fprintf(file, ";; memory allocation failure\n"); 186 fprintf(file, ";; ns_parserr: %s\n", 190 putc('\n', file); 194 fprintf(file, ";; %s SECTION:\n", 197 fprintf(file, ";;\ 158 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument 241 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) argument 313 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) argument 327 p_cdname(const u_char *cp, const u_char *msg, FILE *file) argument 358 p_fqname(const u_char *cp, const u_char *msg, FILE *file) argument [all...] |
H A D | res_send.c | 1084 Aerror(const res_state statp, FILE *file, const char *string, int error, argument 1101 fprintf(file, "res_send: %s ([%s].%s): %s\n", 1108 Perror(const res_state statp, FILE *file, const char *string, int error) { argument 1112 fprintf(file, "res_send: %s: %s\n",
|
/bionic/libc/netbsd/isc/ |
H A D | eventlib_p.h | 87 #define EV_CONN_SELECTED 0x0002 /* evSelectFD(conn->file). */ 89 evFileID file; member in struct:evConn 132 evFileID file; member in struct:evStream 175 struct { evFile *this; int eventmask; } file; member in union:evEvent_p::__anon489
|