HomeSort by relevance Sort by last modified time
    Searched refs:newfile (Results 1 - 25 of 45) sorted by null

1 2

  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
errlist.awk 56 newfile = "new_list.c"
69 print "#pragma ident\t\"%Z%%M%\t%I%\t%E% SMI\"\n" >newfile
70 print "#include \"lint.h\"" >newfile
71 print "#include <sys/isa_defs.h>\n" >newfile
72 print "#pragma weak __sys_errs = _sys_errs\n" >newfile
82 print "const int _sys_index[] =\n{" >newfile
96 printf "\t%d,\n", k >newfile
101 print "};\n" >newfile
103 print "/* This is one long string */" >newfile
104 printf "const char _sys_errs[%d] =\n", k >newfile
    [all...]
getutx.c 790 utmpxname(const char *newfile)
797 if ((len = strlen(newfile)) > MAXFILE-1)
803 if (newfile[len-1] != 'x')
810 (void) strcpy(&utmpxfile[0], newfile);
843 utmpname(const char *newfile)
847 if (strlen(newfile) > MAXFILE)
850 if (strcmp(newfile, "/var/adm/utmp") == 0 ||
851 strcmp(newfile, "/var/adm/wtmp") == 0) {
852 (void) strcpy(name, newfile);
857 (void) strcpy(_compat_utmpfile, newfile);
    [all...]
  /onnv/onnv-gate/usr/src/pkgdefs/common_files/
i.devallocdefs 228 while read newfile oldfile ; do
230 cp $newfile $oldfile
232 set_outfile $newfile
233 dbmerge $oldfile $newfile $outfile
235 echo "$0 : failed to merge $newfile with $oldfile"
i.rbac 331 while read newfile oldfile ; do
337 cp $newfile ${oldfile}.d/"$PKGINST"
346 cp $newfile $oldfile
348 set_type_and_outfile $newfile ||
351 echo "$0 : $newfile not one of" \
357 dbmerge $type $oldfile $newfile $outfile
359 echo "$0 : failed to merge $newfile with $oldfile"
  /onnv/onnv-gate/usr/src/cmd/genmsg/
main.c 276 char *newfile; local
281 newfile = srcfile;
284 if ((newfile = malloc(len)) == NULL) {
289 (void) snprintf(newfile, len, "%s%s",
293 if (is_writable(newfile) == FALSE) {
295 "cannot create \"%s\": permission denied"), newfile);
343 (void) file_copy(tmpfile, newfile);
  /onnv/onnv-gate/usr/src/cmd/tnf/prex/
source.c 134 FILE *newfile; local
137 newfile = fopen(path, "r");
138 if (!newfile) {
145 new_p->instream = newfile;
  /onnv/onnv-gate/usr/src/cmd/filesync/
rules.c 287 { FILE *newfile; local
300 newfile = fopen(tmpname, "w+");
301 if (newfile == NULL) {
310 errs |= rw_header(newfile);
311 errs |= rw_base(newfile, &omnibase);
313 errs |= rw_base(newfile, bp);
315 if (ferror(newfile)) {
321 if (fclose(newfile)) {
base.c 665 { FILE *newfile; local
681 newfile = fopen(tmpname, "w+");
682 if (newfile == NULL) {
688 errs |= bw_header(newfile);
690 errs |= bw_base(newfile, bp);
692 if (ferror(newfile)) {
698 if (fclose(newfile)) {
  /onnv/onnv-gate/usr/src/cmd/fuser/
fuser.c 456 int newfile = 0, errors = 0, opts = 0, flags = 0; local
467 if (newfile) {
473 flags = opts = newfile = 0;
514 if ((optind < argc) && (newfile)) {
520 flags = opts = newfile = 0;
526 * newfile is set when a new group of files is found. If all
527 * arguments are processed and newfile isn't set here, then
531 if (!newfile) {
542 newfile = 1;
  /onnv/onnv-gate/usr/src/cmd/consadm/
consadm.c 368 char newfile[MAXPATHLEN]; local
378 (void) snprintf(newfile, sizeof (newfile), "%s%d",
380 if (((fd = creat(newfile, 0644)) < 0) ||
412 (void) rename(newfile, CONSCONFIG);
423 char newfile[MAXPATHLEN + 1]; local
439 (void) snprintf(newfile, sizeof (newfile), "%s%d",
441 if ((nfp = fopen(newfile, "w")) == NULL) {
472 (void) rename(newfile, CONSCONFIG)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
ftprestart.c 81 static int newfile(char *fpath) function
206 if (newfile(anonpath))
238 if (newfile(altmsgpath))
330 if (newfile(altmsgpath))
ftpshut.c 87 static int newfile(char *fpath) function
375 if (newfile(anonpath))
408 if (newfile(altmsgpath))
501 if (newfile(altmsgpath))
  /onnv/onnv-gate/usr/src/tools/cscope-fast/
command.c 491 char newfile[PATHLEN + 1]; /* new file name */ local
612 for (i = 0; fscanf(refsfound, "%s%*s%s%*[^\n]", newfile, linenum) == 2;
619 if (strcmp(newfile, oldfile) != 0) {
622 if (access(newfile, WRITE) != 0) {
625 newfile);
636 (void) strcpy(oldfile, newfile);
  /onnv/onnv-gate/usr/src/lib/libzpool/common/
kernel.c 546 const char *newfile; local
552 newfile = strrchr(file, '/');
553 if (newfile != NULL) {
554 newfile = newfile + 1; /* Get rid of leading / */
556 newfile = file;
560 dprintf_find_string(newfile) ||
573 (void) printf("%s, line %d: ", newfile, line);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/keymgmt/
keymgmt.c 256 boolean_t newfile = B_TRUE; local
267 newfile = B_FALSE;
313 if (!newfile) {
  /onnv/onnv-gate/usr/src/lib/libdladm/common/
libdladm.c 675 char newfile[MAXPATHLEN]; local
706 (void) snprintf(newfile, MAXPATHLEN, "%s/%s.new",
708 if ((nfd = open(newfile, O_WRONLY | O_CREAT | O_TRUNC,
718 (void) unlink(newfile);
745 if (rename(newfile, file) < 0) {
746 (void) unlink(newfile);
758 (void) unlink(newfile);
  /onnv/onnv-gate/usr/src/cmd/krb5/ldap_util/
kdb5_ldap_services.c 1817 FILE *newfile = NULL; local
2124 FILE *newfile; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/logadm/
main.c 804 struct fn *newfile = fn_new(NULL); local
812 hasn = kw_expand(template, newfile, n, isgz);
815 buf2 = fn_s(newfile);
824 rotateto(newfile, opts, n + 1, recentlog, isgz);
826 struct fn *gzfnp = fn_dup(newfile);
848 dirname = fn_dirname(newfile);
856 Cp, "-fp", fn_s(fnp), fn_s(newfile));
864 kw_init(fnp, newfile);
872 fn_s(fnp), fn_s(newfile));
876 fn_renew(recentlog, fn_s(newfile));
    [all...]
  /onnv/onnv-gate/usr/src/cmd/modload/
drvsubr.c 348 char *newfile, *tptr, *cp; local
414 newfile = mktemp(tptr);
416 if ((newfp = fopen(newfile, "w")) == NULL) {
419 newfile);
527 (void) unlink(newfile);
529 } else if (rename(newfile, oldfile) == -1) {
533 (void) unlink(newfile);
547 if (unlink(newfile) == -1) {
548 (void) fprintf(stderr, gettext(ERR_CANT_RM), newfile);
1416 char *newfile, *tptr local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/dlmgmtd/
dlmgmt_db.c 265 boolean_t newfile = B_FALSE; local
291 newfile = B_TRUE;
298 if (newfile) {
614 char newfile[MAXPATHLEN]; local
628 (void) snprintf(newfile, MAXPATHLEN, "%s.new", file);
629 nfp = dlmgmt_zfopen(newfile, "w", req->ls_zoneid, &err);
643 err = dlmgmt_zrename(newfile, file, req->ls_zoneid);
652 (void) dlmgmt_zunlink(newfile, req->ls_zoneid);
    [all...]
  /onnv/onnv-gate/usr/src/lib/libpkg/common/
keystore.c 2177 FILE *newfile = NULL; local
2262 FILE *newfile; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mms/dm/common/
dm_request.c 389 int newfile = 0; local
551 rc = dm_open_labeled(&newfile);
553 rc = dm_open_nonlabeled(&newfile);
559 if (newfile &&
585 if (newfile) {
721 if (newfile) {
735 if (newfile == 0) {
808 dm_open_labeled(int *newfile)
830 *newfile = 0;
835 *newfile = 1
    [all...]
  /onnv/onnv-gate/usr/src/cmd/awk_xpg4/
awk2.c 46 static FILE *newfile(void);
75 if (fp == FNULL && (fp = newfile()) == FNULL)
158 newfile() function
599 awkinfp = newfile();
  /onnv/onnv-gate/usr/src/cmd/bfs/
bfs.c 142 static int newfile(int prt, char f[]);
215 (void) newfile(1, "");
635 return (newfile(1, fl));
797 (void) newfile(1, "");
1324 newfile(int prt, char f[]) function
  /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/mdbug/
dbug.c 1106 boolean newfile; local
1116 newfile = FALSE;
1118 newfile = TRUE;
1129 if (newfile) {
    [all...]

Completed in 780 milliseconds

1 2