/src/usr.bin/xlint/common/ |
emit.c | 99 outname(const char *name) function in typeref:typename:void
|
/src/common/dist/zlib/examples/ |
gun.c | 540 inname is NULL or an empty string, read from stdin. If outname is NULL or 543 outname. 548 local int gunzip(z_stream *strm, char *inname, char *outname, int test) 567 else if (outname == NULL || *outname == 0) { 568 outname = "-"; 572 outfile = open(outname, O_CREAT | O_TRUNC | O_WRONLY, 0666); 575 fprintf(stderr, "gun cannot create %s\n", outname); 591 copymeta(inname, outname); /* copy attributes */ 599 if (outfile > 2) unlink(outname); 634 char *outname; local in function:main [all...] |
/src/sys/arch/powerpc/stand/mkbootimage/ |
mkbootimage.c | 287 prep_build_image(char *kernel, char *boot, char *rawdev, char *outname) 323 if ((prep_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { 325 prep_fd = creat(outname, 0644); 327 errx(2, "Can't open output '%s': %s", outname, 399 outname, flength); 454 rs6000_build_image(char *kernel, char *boot, char *rawdev, char *outname) 491 if ((rs6000_fd = open(outname, O_RDWR|O_TRUNC, 0)) < 0) { 493 rs6000_fd = creat(outname, 0644); 495 errx(2, "Can't open output '%s': %s", outname, 681 bebox_build_image(char *kernel, char *boot, char *rawdev, char *outname, char *repro_timestamp 851 char *kernel = NULL, *boot = NULL, *rawdev = NULL, *outname = NULL; local in function:main [all...] |
/src/usr.bin/patch/ |
patch.c | 66 char *outname = NULL; variable in typeref:typename:char * 228 if (outname == NULL) 229 outname = savestr(filearg[0]); 375 char *realout = outname; 382 if (move_file(TMPOUTNAME, outname) < 0) { 387 chmod(outname, filemode); 408 if (strlcpy(rejname, outname, 410 fatal("filename %s is too long\n", outname); 413 fatal("filename %s is too long\n", outname); 448 free(outname); [all...] |
/src/lib/libc/time/ |
zic.c | 1370 /* Prepare to write to the file *OUTNAME, using *TEMPNAME to store the 1372 *OUTNAME. Assign the temporary file's name to both *OUTNAME and 1377 open_outfile(char const **outname, char **tempname) 1388 random_dirent(outname, tempname); 1390 while (! (fp = fopen(*outname, fopen_mode))) { 1393 mkdirs(*outname, true); 1396 random_dirent(outname, tempname); 1399 progname, diagdir(*outname), diagslash(*outname), *outname 1487 char const *outname = linkname; local in function:dolink 2429 char const *outname = name; local in function:writezone [all...] |