/freebsd-9.3-release/ |
H A D | Makefile.inc1 | 414 # XXX - These three can depend on any header file. 786 @# For each file that exists in this dist, print the corresponding 792 awk 'BEGIN { print "#${MTREE_MAGIC}" } !/ type=/ { file = $$1 } / type=/ { if ($$1 == file) { sub(/^\.\/${dist}\//, "./"); print } }' > \ 905 @echo "ERROR: Missing kernel configuration file(s) (${KERNCONF})."; \ 1529 # Ask for every old file if the user really wants to remove it. 1538 while read file; do \ 1539 if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \ 1540 chflags noschg "${DESTDIR}/$${file}" [all...] |
/freebsd-9.3-release/bin/csh/ |
H A D | Makefile | 23 sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \ 121 @echo "/* Do not edit this file, make creates it */" > ${.TARGET} 126 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} 134 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} 142 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET}
|
/freebsd-9.3-release/bin/ed/ |
H A D | buf.c | 1 /* buf.c: This file contains the scratch-file buffer routines for the 32 #include <sys/file.h> 38 FILE *sfp; /* scratch file pointer */ 39 off_t sfseek; /* scratch file position */ 43 /* get_sbuf_line: get a line of text from the scratch file; return pointer 61 errmsg = "cannot seek temp file"; 69 errmsg = "cannot read temp file"; 72 sfseek += len; /* update file position */ 78 /* put_sbuf_line: write a line of text to the scratch file an [all...] |
/freebsd-9.3-release/bin/pax/ |
H A D | options.c | 238 * interactive file rename 274 * specify file characteristic options 286 * preserve user id, group id, file 308 * preserver file mode bits 328 * file name substitution name pattern 338 * preserve access time on file system nodes we read 404 * On extraction check file inode change time before the 405 * modification of the file name. Non standard option. 480 * do not pass over mount points in the file system 487 * On extraction check file inod 590 char *file; member in struct:incfile 837 char *file, *dir = NULL; local 906 char *file, *dir = NULL; local [all...] |
/freebsd-9.3-release/bin/rm/ |
H A D | rm.c | 80 * file removal. 182 * Remove a file hierarchy. If forcing removal (-f), or interactive 183 * (-i) or can't ask anyway (stdin_ok), don't stat the file. 217 * file, it can't be unlinked. 299 * the file, it can't be unlinked. 345 * Remove a file. POSIX 1003.2 states that, by default, attempting 346 * to remove a directory is an error, so must always stat the file. 349 /* Assume if can't stat the file, can't unlink it. */ 405 * Overwrite the file 3 times with varying bit patterns. 410 * Also, this assumes a fixed-block file syste 415 rm_overwrite(const char *file, struct stat *sbp) argument [all...] |
/freebsd-9.3-release/bin/setfacl/ |
H A D | Makefile | 4 SRCS= file.c mask.c merge.c remove.c setfacl.c util.c
|
H A D | file.c | 40 * read acl text from a file and return the corresponding acl 45 FILE *file; local 56 file = stdin; 59 file = fopen(filename, "r"); 60 if (file == NULL) 64 fread(buf, sizeof(buf), (size_t)1, file); 65 if (ferror(file) != 0) { 66 fclose(file); 68 } else if (feof(file) == 0) { 69 fclose(file); [all...] |
H A D | setfacl.c | 51 struct sf_file *file; local 57 file = zmalloc(sizeof(struct sf_file)); 58 file->filename = filename; 59 TAILQ_INSERT_TAIL(&filelist, file, next); 67 "[-m entries] [-M file] [-x entries] [-X file] [file ...]\n"); 80 struct sf_file *file; local 199 /* cycle through each file */ 200 TAILQ_FOREACH(file, [all...] |
/freebsd-9.3-release/bin/sh/bltin/ |
H A D | bltin.h | 37 * This file is included by programs which are optionally built into the 54 #define putc(c, file) outc(c, file) 59 #define fwrite(ptr, size, nmemb, file) outbin(ptr, (size) * (nmemb), file)
|
/freebsd-9.3-release/bin/sh/ |
H A D | input.c | 49 * This file implements the input routines used by the parser. 78 * contains information about the current file being read. 83 struct parsefile *prev; /* preceding file on stack */ 85 int fd; /* file descriptor (or -1 if string) */ 99 MKINIT struct parsefile basepf; /* top level input file */ 100 char basebuf[BUFSIZ]; /* buffer for top level input file */ 101 static struct parsefile *parsefile = &basepf; /* current input file */ 157 * Read a character from the script, returning PEOF on end of file. 395 * Set the input to take input from a file. If push is set, push the 412 error("Out of file descriptor 525 popfilesupto(struct parsefile *file) argument [all...] |
H A D | mkbuiltins | 51 * This file was generated by the mkbuiltins program. 80 * This file was generated by the mkbuiltins program.
|
H A D | mkinit.c | 49 * special events and combines this code into one file. This (allegedly) 68 * OUTFILE is the name of the output file. Output is initially written 69 * to the file OUTTEMP, which is then moved to OUTFILE. 81 * writes the contents of a text structure to a file. 113 * This file was generated by the mkinit program.\n\ 136 const char *curfile; /* current file */ 178 * Parse an input file. 318 /* name now contains the name of the include file */ 367 * Write the output to the file OUTTEMP. 433 * Write the contents of a text structure to a file 448 ckfopen(const char *file, const char *mode) argument [all...] |
H A D | mknodes.c | 48 * This program reads the nodetypes file and nodes.c.pat file. It generates 114 error("usage: mknodes file"); 209 * This file was generated by the mknodes program.\n\ 214 output(char *file) argument 224 if ((patfile = fopen(file, "r")) == NULL) 225 error("Can't open %s: %s", file, strerror(errno));
|
H A D | mktokens | 43 TEOF 1 end of file
|
H A D | output.c | 98 outcslow(int c, struct output *file) argument 100 outc(c, file); 128 outstr(const char *p, struct output *file) argument 130 outbin(p, strlen(p), file); 135 outqstr(const char *p, struct output *file) argument 141 outstr("''", file); 147 outstr(p, file); 157 outcslow('\'', file); 159 outstr("\\'", file); 163 outcslow('\'', file); 173 outbin(const void *data, size_t len, struct output *file) argument 243 outfmt(struct output *file, const char *fmt, ...) argument [all...] |
H A D | output.h | 76 #define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
|
/freebsd-9.3-release/bin/stty/ |
H A D | stty.c | 64 const char *file; local 68 file = "stdin"; 84 file = optarg; 98 errx(1, "%s isn't a terminal", file); 162 "usage: stty [-a | -e | -g] [-f file] [arguments]\n");
|
/freebsd-9.3-release/cddl/compat/opensolaris/include/ |
H A D | assert.h | 51 __assert(const char *expr, const char *file, int line) argument 54 (void)fprintf(stderr, "Assertion failed: (%s), file %s, line %d.\n", 55 expr, file, line);
|
/freebsd-9.3-release/cddl/compat/opensolaris/misc/ |
H A D | fsshare.c | 68 * Read one line from a file. Skip comments, empty lines and a line with a 150 fsshare_main(const char *file, const char *mountpoint, const char *shareopts, argument 162 * Create temporary file in the same directory, so we can atomically 165 if (strlcpy(tmpfile, file, sizeof(tmpfile)) >= sizeof(tmpfile)) 173 * File name is random, so we don't really need file lock now, but it 180 /* Open old exports file. */ 181 oldfd = fopen(file, "r"); 189 /* If there is no exports file, ignore the error. */ 201 /* Place big, fat warning at the begining of the file. */ 222 if (rename(tmpfile, file) 248 fsshare(const char *file, const char *mountpoint, const char *shareopts) argument 258 fsunshare(const char *file, const char *mountpoint) argument [all...] |
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Apps/ |
H A D | nfswizard.d | 9 * times and file access. 19 * The contents of this file are subject to the terms of the 21 * (the "License"). You may not use this file except in compliance 46 /* tally file sizes */ 47 @file[args[2]->fi_pathname] = sum(args[0]->b_bcount); 97 /* print file stats */ 100 trunc(@file, 25); 101 printa(" %-64s %@d\n", @file);
|
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | js_calldist.d | 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 60 this->file = basename(copyinstr(arg0)); 63 @types_incl[this->file, "func", this->name] = 65 @types_excl[this->file, "func", this->name] = 82 this->file = basename(copyinstr(arg0)); 85 @types[this->file, "obj-new", this->name] =
|
H A D | js_calltime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 61 this->file = basename(copyinstr(arg0)); 64 @num[this->file, "func", this->name] = count(); 66 @types_incl[this->file, "func", this->name] = sum(this->elapsed_incl); 67 @types_excl[this->file, "func", this->name] = sum(this->elapsed_excl); 84 this->file = basename(copyinstr(arg0)); 87 @num[this->file, "obj-new", this->name] = count(); 89 @types[this->file, "obj-new", this->name] = sum(this->elapsed);
|
H A D | js_cpudist.d | 24 * The contents of this file are subject to the terms of the 26 * (the "License"). You may not use this file except in compliance 60 this->file = basename(copyinstr(arg0)); 63 @types_incl[this->file, "func", this->name] = 65 @types_excl[this->file, "func", this->name] = 82 this->file = basename(copyinstr(arg0)); 85 @types[this->file, "obj-new", this->name] =
|
H A D | js_cputime.d | 25 * The contents of this file are subject to the terms of the 27 * (the "License"). You may not use this file except in compliance 61 this->file = basename(copyinstr(arg0)); 64 @num[this->file, "func", this->name] = count(); 66 @types_incl[this->file, "func", this->name] = sum(this->oncpu_incl); 67 @types_excl[this->file, "func", this->name] = sum(this->oncpu_excl); 84 this->file = basename(copyinstr(arg0)); 87 @num[this->file, "obj-new", this->name] = count(); 89 @types[this->file, "obj-new", this->name] = sum(this->oncpu);
|
H A D | js_objgc.d | 38 * The contents of this file are subject to the terms of the 40 * (the "License"). You may not use this file except in compliance 65 this->file = basename(copyinstr(arg0)); 66 @objs[this->file, copyinstr(arg1)] = sum(1); 67 filename[arg2] = this->file;
|