| /onnv/onnv-gate/usr/src/cmd/logadm/ |
| glob.h | 38 struct fn_list *glob_glob(struct fn *fnp); 40 struct fn_list *glob_reglob(struct fn *fnp); 41 struct fn *glob_to_reglob(struct fn *fnp);
|
| fn.h | 25 * logadm/fn.h -- public definitions for fn module 38 struct fn *fn_new(const char *s); 39 struct fn *fn_dup(struct fn *fnp); 40 struct fn *fn_dirname(struct fn *fnp); 41 void fn_setn(struct fn *fnp, int n); 42 int fn_getn(struct fn *fnp); 43 void fn_setstat(struct fn *fnp, struct stat *stp) [all...] |
| kw.h | 38 void kw_init(struct fn *fnp, struct fn *nfnp); 39 boolean_t kw_expand(struct fn *src, struct fn *dst, int n, boolean_t gz);
|
| fn.c | 25 * logadm/fn.c -- "filename" string module 31 * logadm that return filenames return a struct fn, and most routines 43 #include "fn.h" 56 struct fn { struct 61 struct fn *fn_next; /* next in list */ 68 struct fn *fnl_first; /* first element of list */ 69 struct fn *fnl_last; /* last element of list */ 70 struct fn *fnl_rptr; /* read pointer for iterating through list */ 77 * struct fn *fnp = fn_new("this is a string"); 79 struct fn * [all...] |
| Makefile | 28 OBJS= conf.o err.o fn.o glob.o kw.o lut.o main.o opts.o 74 conftest: conftest.o err.o fn.o lut.o opts.o 75 $(LINK.c) -o conftest conftest.o err.o fn.o lut.o opts.o $(LDLIBS) 78 globtest: globtest.o lut.o err.o fn.o 79 $(LINK.c) -o globtest globtest.o lut.o err.o fn.o $(LDLIBS) 82 kwtest: kwtest.o err.o fn.o lut.o 83 $(LINK.c) -o kwtest kwtest.o err.o fn.o lut.o $(LDLIBS) 90 optstest: optstest.o err.o fn.o lut.o 91 $(LINK.c) -o optstest optstest.o err.o fn.o lut.o $(LDLIBS)
|
| /onnv/onnv-gate/usr/src/tools/ctf/cvt/ |
| fifo.c | 62 fifonode_t *fn = xmalloc(sizeof (fifonode_t)); local 64 fn->fn_data = data; 65 fn->fn_next = NULL; 68 f->f_head = f->f_tail = fn; 70 f->f_tail->fn_next = fn; 71 f->f_tail = fn; 79 fifonode_t *fn; local 82 if ((fn = f->f_head) == NULL) 85 data = fn->fn_data; 86 if ((f->f_head = fn->fn_next) == NULL 105 fifonode_t *fn = f->f_head; local 125 fifonode_t *fn; local 142 fifonode_t *fn; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/startd/ |
| file.c | 54 char *fn; local 63 fn = file_fmri + sizeof ("file://") - 1; 66 fn = file_fmri + sizeof ("file://localhost") - 1; 69 fn = file_fmri + sizeof ("file://") - 1; 74 if ((fn = strchr(fn, '/')) == NULL) 82 r = stat(fn, &sbuf);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
| rc_io.c | 75 krb5_rc_io_creat(krb5_context context, krb5_rc_iostuff *d, char **fn) 85 if (fn && *fn) 88 if (*fn[0] == '/') { 89 d->fn = strdup(*fn); 90 if (d->fn == NULL) 93 if (!(d->fn = malloc(strlen(*fn) + dirlen + 1))) 95 (void) strcpy(d->fn, dir) [all...] |
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| imsg.c | 43 * fn -> input file descriptor 49 imsg(msg, fn) 51 int fn; 61 while ((i = (*Read)(fn, msg, sizeof(char))) == sizeof(char)) { 97 * fn -> file descriptor 102 omsg(type, msg, fn) 105 int fn; 111 (*Write)(fn, buf, strlen(buf) + 1);
|
| xio.c | 76 * fn -> x.25 file descriptor 81 xwrmsg(type, str, fn) 83 int fn; 96 (void) (*Write)(fn, bufr, strlen(bufr) + 1); 103 * fn -> x.25 file descriptor 109 xrdmsg(str, fn) 119 if( (len = (*Read)(fn, str, XBUFSIZ)) == 0) 137 * fn -> x.25 descriptor 143 xwrdata(fp1, fn) 156 ret = (*Write)(fn, bufr, len) [all...] |
| eio.c | 91 * fn -> link file descriptor 97 ewrmsg(type, str, fn) 99 int fn; 102 return(etwrmsg(type, str, fn, 0)); 108 * fn -> file descriptor 114 erdmsg(str, fn) 117 return(etrdmsg(str, fn, 0)); 124 * fn -> link descriptor 130 ewrdata(fp1, fn) 132 int fn; [all...] |
| dio.c | 100 * fn -> Datakit file descriptor 106 dwrmsg(type, str, fn) 108 int fn; 121 return((*Write)(fn, bufr, (unsigned) strlen(bufr) + 1) < 0 ? FAIL : SUCCESS); 127 * fn -> Datakit file descriptor 133 drdmsg(str, fn) 144 if( (len = (*Read)(fn, str, XBUFSIZ)) <= 0) { 160 * fn -> Datakit descriptor 166 dwrdata(fp1, fn) 179 ret = (*Write)(fn, bufr, (unsigned) len) [all...] |
| fio.c | 170 fwrmsg(type, str, fn) 172 int fn; 186 (void) write(fn, bufr, s - bufr); 191 frdmsg(str, fn) 193 int fn; 202 if (read(fn, str, 1) <= 0) 222 fwrdata(fp1, fn) 224 int fn; 237 alen = fwrblk(fn, fp1, &flen); 244 if (frdmsg(ibuf, fn) != FAIL) [all...] |
| /onnv/onnv-gate/usr/src/lib/libtecla/common/ |
| hash.h | 48 #define SYM_DEL_FN(fn) void *(fn)(void *app_data, int code, void *sym_data) 60 #define HASH_DEL_FN(fn) void *(fn)(void *app_data) 89 void (*fn)(void); /* Application supplied generic function */ member in struct:__anon4231 138 void (*fn)(void), void *data, SYM_DEL_FN(*del_fn)); 155 #define HASH_SCAN_FN(fn) int (fn)(Symbol *sym, void *context)
|
| homedir.h | 78 #define HOME_DIR_FN(fn) int (fn)(void *data, const char *usrnam, const char *homedir, char *errmsg, int maxerr)
|
| ioutil.h | 57 #define GL_WRITE_FN(fn) int (fn)(void *data, const char *s, int n)
|
| keytab.h | 58 #define KT_KEY_FN(fn) int (fn)(GetLine *gl, int count, void *data) 67 KtKeyFn *fn; /* The acion function */ member in struct:__anon4239 69 /* fn() whenever it is called. */ 114 KtKeyFn *fn, void *data); 116 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data); 122 KtKeyFn **fn, void **data);
|
| /onnv/onnv-gate/usr/src/psm/stand/boot/sparc/common/ |
| inetboot.c | 94 char *fn; local 98 fn = NULL; 102 fn = (cmd_line_boot_archive[0] != '\0') ? 106 (void) strncpy(tmpname, fn, strlen(fn)+1); 107 fn = tmpname; 109 printf("Enter filename [%s]: ", fn); 114 fn = tmpname; 124 if (fn != NULL) { 125 fd = openfile(fn); [all...] |
| /onnv/onnv-gate/usr/src/cmd/pcidr/plugins/default/ |
| pcidr_plugin.c | 50 char *fn = PCIDR_PLUGIN_SYMSTR; local 63 dprint(DWARN, "%s: invalid or missing attributes\n", fn); 78 "failed: rv = %d (%s)", fn, dr.dr_ap_id, rv, str); 91 "found for the APID \"%s\"\n", fn, dr.dr_ap_id); 100 "matching \"%s\"\n", fn, dr.dr_ap_id); 103 dprint(DINFO, "===========================================\n", fn); 109 dprint(DINFO, "%s: disconnecting ...\n", fn, apid); 113 dprint(DINFO, "%s: disconnect FAILED\n", fn); 117 dprint(DINFO, "%s: disconnect OK\n", fn); 123 dprint(DINFO, "%s: configuring ...\n", fn, apid) [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| ftw.c | 36 * int ftw (path, fn, depth) char *path; int (*fn)(); int depth; 42 * For each object visited, fn is called with three arguments. 57 * the directory cannot be read, fn will not be 67 * or a directory. The stat buffer passed to fn will 73 * If fn returns nonzero, ftw stops and returns the same value 85 * fn expects to be able to open files. We could also figure out 87 * number to fn, but we would not know how many to guarantee, 108 ftw(path, fn, depth) 110 int (*fn)(); [all...] |
| ssignal.c | 58 (*ssignal(sig, fn))() 59 register int sig, (*fn)(); 68 sp[sig-MINSIG] = fn;
|
| /onnv/onnv-gate/usr/src/tools/fastfs/ |
| fastfs.c | 225 printstatusline(fn, mode) 226 char *fn; 231 (void) printf("%-20s %-10s\n", fn, mode); 238 printstatus(fn) 239 char *fn; 244 fd = open(fn, O_RDONLY); 246 perror(fn); 251 perror(fn); 257 printstatusline(fn, "fast"); 260 printstatusline(fn, "safe") [all...] |
| /onnv/onnv-gate/usr/src/cmd/man/src/util/instant.src/ |
| traninit.c | 99 char buf[LINESIZE], *cp, *fn, *cp2; local 139 fn = buf + i; /* point to end of string in buffer */ 140 fgets(fn, LINESIZE-i, fp); /* read and append to buf */ 156 "Trans spec error, missing colon (skipping line):\n %s\n", fn); 159 fn = buf; /* fn is name of the field, cp the value. */ 162 if (!strncmp("GI:", fn, 3)) { 171 else if (!strncmp("StartText:", fn, 10)) T.starttext = strdup(cp); 172 else if (!strncmp("EndText:", fn, 8)) T.endtext = strdup(cp); 173 else if (!strncmp("Relation:", fn, 9)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
| lockfs.c | 114 #define LOCKWARN(FN, S) \ 117 printf("WARNING: %s was modified while %s locked\n", FN, S); \ 240 printstatusline(char *fn, char *locktype, char *comment) 244 printf("%-20s %-10s %s\n", fn, locktype, comment); 251 printstatus(char *fn) 259 fd = open64(fn, O_RDONLY); 262 printstatusline(fn, "EIO", "May be hard locked"); 264 perror(fn); 276 perror(fn); 335 printstatusline(fn, locktype, lf.lf_comment) [all...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/dial/ |
| conn.c | 84 int nf, fn = FAIL; local 90 fn = getto(flds); 91 CDEBUG(4, "getto ret %d\n", fn); 92 if (fn < 0) 95 if (chat(nf - F_LOGIN, flds + F_LOGIN, fn, "", "") == 98 return (fn); /* successful return */ 102 DEBUG(6, "close caller (%d)\n", fn); 103 fd_rmlock(fn); 104 (void) close(fn); 111 return (fn); [all...] |