| /src/usr.bin/xlint/common/ |
| emit.c | 99 outname(const char *name) function
|
| /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 [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 [all...] |
| /src/usr.bin/patch/ |
| patch.c | 66 char *outname = NULL; variable 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 | 1611 /* Prepare to write to the file *OUTNAME, using *TEMPNAME to store the 1613 *OUTNAME. Assign the temporary file's name to both *OUTNAME and 1618 open_outfile(char const **outname, char **tempname) 1622 random_dirent(outname, tempname); 1626 int fd = open(*outname, oflags, creat_perms); 1638 mkdirs(*outname, true); 1641 random_dirent(outname, tempname); 1644 progname, diagdir(*outname), diagslash(*outname), *outname 1734 char const *outname = linkname; local 2676 char const *outname = name; local [all...] |