Searched defs:fp (Results 1 - 25 of 353) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libpkg/common/
H A Dppkgmap.c43 ppkgmap(struct cfent *ept, FILE *fp) argument
49 if (fprintf(fp, "%d ", ept->volno) < 0)
54 if (fprintf(fp, "%c %s", ept->ftype, ept->path) < 0)
57 if (fprintf(fp, "%c %s %s", ept->ftype, ept->pkg_class,
63 if (fprintf(fp, "=%s", ept->ainfo.local) < 0)
70 if (fprintf(fp, " ?") < 0)
73 if (fprintf(fp, " %d", ept->ainfo.xmajor) < 0)
78 if (fprintf(fp, " ?") < 0)
81 if (fprintf(fp, " %d", ept->ainfo.major) < 0)
87 if (fprintf(fp, "
[all...]
H A Dtputcfent.c45 tputcfent(struct cfent *ept, FILE *fp) argument
56 (void) fprintf(fp, pkg_gt("Pathname: %s\n"), ept->path);
57 (void) fprintf(fp, pkg_gt("Type: "));
61 (void) fputs(pkg_gt("regular file\n"), fp);
65 (void) fputs(pkg_gt("directory\n"), fp);
69 (void) fputs(pkg_gt("exclusive directory\n"), fp);
73 (void) fputs(pkg_gt("volatile file\n"), fp);
77 (void) fputs(pkg_gt("editted file\n"), fp);
81 (void) fputs(pkg_gt("named pipe\n"), fp);
85 (void) fputs(pkg_gt("installation file\n"), fp);
[all...]
H A Dpkgxpand.c50 FILE *fp; local
61 if ((fp = fopen(path, "r")) == NULL)
65 while (fgets(line, LSIZE, fp)) {
91 (void) fclose(fp);
/osnet-11/usr/src/lib/libc/port/unwind/
H A Dunwind.c50 * _t_cancel(fp):calls cleanup handlers if there are any in
51 * frame (fp), and calls _ex_unwind() to call
56 * _thrp_unwind: first arg = current fp;
62 * fp, then it will be invalid. For a caller of _thrp_unwind()
63 * it looks as if it is calling _t_cancel(fp).
70 _t_cancel(void *fp) argument
86 if (fp == NULL) {
91 if ((head = self->ul_clnup_hdr) != NULL && fp == head->fp) {
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_vsscan.c54 static FILE *fp = NULL; local
60 if (fp == NULL && (fp = tmpfile()) == NULL)
63 (void) rewind(fp);
66 (void) fputs(buf, fp);
69 (void) rewind(fp);
71 return (mks_vfscanf(fp, fmt, vp));
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dfprintf.c28 ** fp -- file pointer to be printed to
40 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) argument
42 sm_io_fprintf(fp, timeout, fmt, va_alist)
43 SM_FILE_T *fp;
52 SM_REQUIRE_ISA(fp, SmFileMagic);
54 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
H A Dfscanf.c28 ** fp -- the file pointer to obtain the data from
40 sm_io_fscanf(SM_FILE_T *fp, int timeout, char const *fmt, ...) argument
42 sm_io_fscanf(fp, timeout, fmt, va_alist)
43 SM_FILE_T *fp;
52 SM_REQUIRE_ISA(fp, SmFileMagic);
54 ret = sm_vfscanf(fp, timeout, fmt, ap);
H A Dfwalk.c40 register SM_FILE_T *fp; local
48 for (fp = g->gl_iobs, n = g->gl_niobs; --n >= 0; fp++)
50 if (fp->f_flags != 0)
53 fptimeout = fp->f_timeout;
58 ret |= (*function)(fp, &fptimeout);
H A Dt-smstdio.c25 SM_FILE_T *fp; local
36 fp = sm_io_stdioopen(stream, "w");
37 SM_TEST(fp != NULL);
39 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "%s", testmsg);
40 sm_io_close(fp, SM_TIME_DEFAULT);
55 fp = sm_io_stdioopen(stream, "r");
56 SM_TEST(fp != NULL);
58 n = sm_io_read(fp, SM_TIME_DEFAULT, buf, sizeof(buf));
/osnet-11/usr/src/lib/libadm/common/
H A Dputhelp.c42 puthelp(FILE *fp, char *defmesg, char *help) argument
71 (void) puttext(fp, help, ckindent, ckwidth);
72 (void) fputc('\n', fp);
H A Dputerror.c46 puterror(FILE *fp, char *defmesg, char *error) argument
88 (void) puttext(fp, tmp, ckindent, ckwidth);
89 (void) fputc('\n', fp);
H A Dputprmpt.c40 putprmpt(FILE *fp, char *prompt, char *choices[], char *defstr) argument
45 (void) fputc('\n', fp);
70 (void) puttext(fp, buffer, 0, ckwidth);
/osnet-11/usr/src/grub/grub2/util/
H A Ddevicemap.c7 grub_util_emit_devicemap_entry (FILE *fp, char *name, int is_floppy, argument
11 fprintf (fp, "(fd%d)\t%s\n", (*num_fd)++, name);
13 fprintf (fp, "(hd%d)\t%s\n", (*num_hd)++, name);
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmimetype.c51 mimetype(Mime_t* mp, Sfio_t* fp, const char* file, struct stat* st) argument
68 return magictype(mp->magic, fp, file, st);
/osnet-11/usr/src/lib/libcurses/screen/
H A Dwhline.c50 chtype a, *fp = &(win->_y[cury][curx]); local
61 memSset(fp, horch | win->_attrs, num_chars);
H A Dwvline.c51 chtype a, **fp = win->_y; local
66 fp[cury][curx] = vertch;
/osnet-11/usr/src/lib/libgen/common/
H A Disencrypt.c46 const char *fp; local
53 fp = fbuf;
54 while (fp < &fbuf[ninbuf])
56 if (*fp++ & 0200) {
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dsiglongjmp.c51 greg_t fp = bp->sjs_fp; local
82 * Copy the fp and i7 values into the register window save area.
94 sp->fr_savfp = (struct frame *)fp;
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dsiglongjmp.c48 greg_t fp = bp->sjs_fp; local
81 * Copy the fp and i7 values into the register window save area.
93 sp->fr_savfp = (struct frame *)fp;
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirs_p.h32 FILE * fp; member in struct:lcl_sv
/osnet-11/usr/src/lib/libldap4/common/
H A Dfriendly.c50 FILE *fp; local
62 if ( (fp = fopen( filename, "r" )) == NULL )
66 while ( fgets( buf, sizeof(buf), fp ) != NULL ) {
70 rewind( fp );
74 (void) fclose( fp );
79 while ( fgets( buf, sizeof(buf), fp ) != NULL && i < entries ) {
114 (void) fclose( fp );
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dfriendly.c49 FILE *fp; local
62 if ( (fp = fopen( filename, "rF" )) == NULL )
66 while ( fgets( buf, sizeof(buf), fp ) != NULL ) {
70 rewind( fp );
74 fclose( fp );
79 while ( fgets( buf, sizeof(buf), fp ) != NULL && i < entries ) {
114 fclose( fp );
/osnet-11/usr/src/lib/libmail/common/
H A Dgetdomain.c70 FILE *fp = fopen(file, "r"); local
72 if (!fp)
75 while (fgets(buf, size, fp))
87 (void) fclose(fp);
/osnet-11/usr/src/lib/libcmd/common/
H A Dasa.c110 register Sfio_t *fp; local
134 fp = sfstdin;
135 else if (!(fp = sfopen(NiL, cp, "r")))
141 n = asa(fp, sfstdout,reclen);
142 if (fp != sfstdin)
143 sfclose(fp);
H A Dhead.c75 register Sfio_t* fp; local
129 fp = sfstdin;
130 sfset(fp, SF_SHARE, 1);
132 else if (!(fp = sfopen(NiL, cp, "r")))
141 sfmove(fp, NiL, skip, delim);
142 if (sfmove(fp, sfstdout, keep, delim) < 0 && errno != EPIPE)
144 if (fp != sfstdin)
145 sfclose(fp);

Completed in 69 milliseconds

1234567891011>>