| /onnv/onnv-gate/usr/src/lib/libbc/libc/stdio/common/ |
| fgetc.c | 31 fgetc(fp) 32 register FILE *fp; 34 return(getc(fp));
|
| fileno.c | 28 fileno(fp) 29 register FILE *fp; 31 return (fp->_file);
|
| fputc.c | 31 fputc(c, fp) 33 register FILE *fp; 35 return(putc(c, fp));
|
| feof.c | 32 feof(fp) 33 register FILE *fp; 35 return (__feof__(fp));
|
| ferror.c | 31 ferror(fp) 32 register FILE *fp; 34 return (__ferror__(fp));
|
| getc.c | 31 getc(fp) 32 register FILE *fp; 34 return (__getc__(fp));
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/libsm/ |
| wsetup.c | 32 ** fp -- the file pointer 40 sm_wsetup(fp) 41 register SM_FILE_T *fp; 48 if ((fp->f_flags & SMWR) == 0) 50 if ((fp->f_flags & SMRW) == 0) 55 if (fp->f_flags & SMRD) 58 if (HASUB(fp)) 59 FREEUB(fp); 62 fp->f_flags &= ~(SMRD|SMFEOF); 63 fp->f_r = 0 [all...] |
| ungetc.c | 36 ** Expand the ungetc buffer `in place'. That is, adjust fp->f_p when 42 ** fp -- the file pointer 52 sm_submore_x(fp) 53 SM_FILE_T *fp; 58 if (fp->f_ub.smb_base == fp->f_ubuf) 62 fp->f_ub.smb_base = p; 63 fp->f_ub.smb_size = SM_IO_BUFSIZ; 64 p += SM_IO_BUFSIZ - sizeof(fp->f_ubuf); 65 for (i = sizeof(fp->f_ubuf); --i >= 0; [all...] |
| fpurge.c | 29 ** fp -- file pointer to purge 37 sm_io_purge(fp) 38 register SM_FILE_T *fp; 40 SM_REQUIRE_ISA(fp, SmFileMagic); 41 if (!fp->f_flags) 47 if (HASUB(fp)) 48 FREEUB(fp); 49 fp->f_p = fp->f_bf.smb_base; 50 fp->f_r = 0 [all...] |
| wbuf.c | 33 ** fp -- the file pointer 43 sm_wbuf(fp, timeout, c) 44 register SM_FILE_T *fp; 58 fp->f_w = fp->f_lbfsize; 59 if (cantwrite(fp)) 77 n = fp->f_p - fp->f_bf.smb_base; 78 if (n >= fp->f_bf.smb_size) 80 if (sm_io_flush(fp, timeout) [all...] |
| refill.c | 50 ** fp -- the file pointer for the active file 51 ** fd -- raw file descriptor (from 'fp') to use for select() 60 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \ 89 fp->f_r = 0; \ 90 fp->f_flags |= SMERR; \ 110 ** fp -- file pointer to flush 119 sm_lflush(fp, timeout) 120 SM_FILE_T *fp; 124 if ((fp->f_flags & (SMLBF|SMWR)) == (SMLBF|SMWR)) 125 return sm_flush(fp, timeout) [all...] |
| rewind.c | 30 ** fp -- the flie pointer for rewind 38 sm_io_rewind(fp, timeout) 39 register SM_FILE_T *fp; 42 SM_REQUIRE_ISA(fp, SmFileMagic); 43 (void) sm_io_seek(fp, timeout, 0L, SM_IO_SEEK_SET); 44 (void) sm_io_clearerr(fp);
|
| fpos.c | 63 ** fp -- the file pointer to get repositioned 72 sm_io_tell(fp, timeout) 73 register SM_FILE_T *fp; 79 SM_REQUIRE_ISA(fp, SmFileMagic); 80 if (fp->f_seek == NULL) 87 timeout = fp->f_timeout; 104 (void) sm_flush(fp, (int *) &timeout); 118 if (fp->f_flags & SMOFF) 119 pos = fp->f_lseekoff; 123 pos = (*fp->f_seek)(fp, (off_t) 0, SM_IO_SEEK_CUR) [all...] |
| fclose.c | 65 ** fp -- file pointer to be closed 73 ** file pointer 'fp' will no longer be valid. 77 sm_io_close(fp, timeout) 78 register SM_FILE_T *fp; 84 if (fp == NULL) 90 SM_REQUIRE_ISA(fp, SmFileMagic); 93 if (fp->sm_magic == NULL) 99 if (fp->f_close == NULL) 105 if (fp->f_dup_cnt > 0) 108 fp->f_dup_cnt-- [all...] |
| smstdio.c | 29 ** stdio. fp->f_cookie is the FILE* of stdio. The cookie may be 31 ** When binding late (when fp->f_cookie==NULL) then the value of 32 ** fp->f_ival is used (0, 1 or 2) to map to stdio's stdin, stdout or 40 ** fp -- file pointer assign for this open 52 sm_stdioopen(fp, info, flags, rpool) 53 SM_FILE_T *fp; 100 fp->f_cookie = s; 108 ** fp - the file pointer to get the cookie assigned 115 setup(fp) 116 SM_FILE_T *fp; 334 SM_FILE_T *fp; local [all...] |
| fseek.c | 68 ** fp -- the file pointer to be seek'd 79 sm_io_seek(fp, timeout, offset, whence) 80 register SM_FILE_T *fp; 93 SM_REQUIRE_ISA(fp, SmFileMagic); 100 if ((seekfn = fp->f_seek) == NULL) 107 timeout = fp->f_timeout; 147 sm_flush(fp, (int *) &timeout); 149 if (fp->f_flags & SMOFF) 150 curoff = fp->f_lseekoff; 153 curoff = (*seekfn)(fp, (off_t) 0, SM_IO_SEEK_CUR) [all...] |
| /onnv/onnv-gate/usr/src/cmd/zic/ |
| scheck.c | 15 register const char *fp; local 27 fp = format; 29 while ((*tp++ = c = *fp++) != '\0') { 32 if (*fp == '%') { 33 *tp++ = *fp++; 37 if (*fp == '*') 38 ++fp; 39 while (is_digit(*fp)) 40 *tp++ = *fp++; 41 if (*fp == 'l' || *fp == 'h' [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| printfr.c | 19 void printfr(fp, iocfunc) 20 struct frentry *fp; 31 type = fp->fr_type & ~FR_T_BUILTIN; 33 if ((fp->fr_type & FR_T_BUILTIN) != 0) 36 if (fp->fr_collect != 0) 37 printf("%u ", fp->fr_collect); 39 if (fp->fr_type == FR_T_CALLFUNC) { 41 } else if (fp->fr_func != NULL) { 43 if ((fp->fr_flags & FR_CALLNOW) != 0) 45 s = kvatoname(fp->fr_func, iocfunc) [all...] |
| printlog.c | 14 void printlog(fp) 15 frentry_t *fp; 20 if (fp->fr_flags & FR_LOGBODY) 22 if (fp->fr_flags & FR_LOGFIRST) 24 if (fp->fr_flags & FR_LOGORBLOCK) 26 if (fp->fr_loglevel != 0xffff) { 28 if (fp->fr_loglevel & LOG_FACMASK) { 29 s = fac_toname(fp->fr_loglevel); 34 u = pri_toname(fp->fr_loglevel);
|
| /onnv/onnv-gate/usr/src/lib/libast/common/misc/ |
| fastfind.c | 164 register Find_t* fp; local 196 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, sizeof(Encode_t) - sizeof(Code_t)))) 198 fp->vm = vm; 199 fp->id = lib; 200 fp->disc = disc; 201 fp->generate = 1; 224 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); 225 if (!eaccess(fp->encode.file, R_OK|W_OK)) 227 path = fp->encode.file [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/sctp/ |
| sctp_asconf.h | 33 #define SCTP_FADDR_RC_TIMER_RESTART(sctp, fp, intvl) \ 34 if ((fp)->rc_timer_mp == NULL) { \ 35 (fp)->rc_timer_mp = sctp_timer_alloc((sctp), \ 38 if ((fp)->rc_timer_mp != NULL) { \ 39 ((sctpt_t *)((fp)->rc_timer_mp->b_rptr))->sctpt_faddr = fp; \ 40 dprint(3, ("faddr_rc_timer_restart: fp=%p %x:%x:%x:%x %d\n", \ 41 (void *)(fp), SCTP_PRINTADDR((fp)->faddr), \ 43 sctp_timer((sctp), (fp)->rc_timer_mp, (intvl)); [all...] |
| /onnv/onnv-gate/usr/src/cmd/fmli/oeu/ |
| genparse.c | 53 skip(fp, p) 54 FILE *fp; 57 return(skiptokwd(fp)); 61 getnum(fp, type) 62 FILE *fp; 70 if (skipspace(fp) == KEYWORD) 72 for (i = 0, c = getc(fp); isdigit(c); i++, c = getc(fp)) 75 ungetc(c, fp); 77 skiptokwd(fp); [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/i18n/ |
| inc.flg | 31 usr/src/lib/libc/sparc/fp
|
| /onnv/onnv-gate/usr/src/lib/libsmbfs/smb/ |
| acl_print.c | 59 fprint_sid(FILE *fp, i_ntsid_t *sid) 64 fprintf(fp, "(null)\n"); 69 fprintf(fp, "(error)\n"); 71 fprintf(fp, "%s\n", sidbuf); 75 fprint_ntace(FILE *fp, i_ntace_t *ace) 78 fprintf(fp, " (null)\n"); 83 fprintf(fp, " ace_type=%d ace_flags=0x%x ace_rights=0x%x\n", 86 fprintf(fp, " ace_sid: "); 87 fprint_sid(fp, ace->ace_sid); 91 fprint_ntacl(FILE *fp, i_ntacl_t *acl [all...] |
| /onnv/onnv-gate/usr/src/lib/libcmd/common/ |
| fmt.c | 74 #define isoption(fp,c) ((fp)->flags&(1L<<((c)-'a'))) 75 #define setoption(fp,c) ((fp)->flags|=(1L<<((c)-'a'))) 76 #define clroption(fp,c) ((fp)->flags&=~(1L<<((c)-'a'))) 79 outline(Fmt_t* fp) 81 register char* cp = fp->outbuf; 86 if (!fp->outp) 88 while (fp->outp[-1] == ' ' [all...] |