Searched refs:iop (Results 1 - 25 of 111) sorted by path

12345

/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c442 FILE *iop; local
447 (iop = fdopen(fd, "w+")) == NULL) {
452 return (iop);
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c2061 FILE *iop; /* I/O stream */ member in struct:buff
2075 initbuf(FILE *iop, int filen, long offset) argument
2077 bufwchar[filen].iop = iop;
2091 rewind(bufwchar[filen].iop);
2147 ch = getc(bufwchar[filen].iop);
2172 sizeof (char), NW, bufwchar[filen].iop);
2173 if (ferror(bufwchar[filen].iop)) {
2193 sizeof (char), NW, bufwchar[filen].iop);
2194 if (ferror(bufwchar[filen].iop)) {
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dinit.c173 time_t iop; variable
H A Dmail.h398 extern time_t iop;
H A Dsendmail.c86 time(&iop);
87 bp = localtime(&iop);
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h531 extern int my_fclose(register FILE *iop);
/illumos-gate/usr/src/cmd/mailx/
H A Dmyfopen.c141 my_fclose(register FILE *iop) argument
145 int ret = fclose(iop);
147 cur = search(iop);
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.c873 int iop, width; local
875 iop = 0;
880 iop = 1;
884 iop = -1;
893 iop = 0;
895 (*p->setwidth)(p, iop, width);
H A Dterm_ascii.c163 ascii_setwidth(struct termp *p, int iop, int width) argument
168 if (iop > 0)
170 else if (iop == 0)
H A Dterm_ps.c626 ps_setwidth(struct termp *p, int iop, int width) argument
631 if (iop > 0)
633 else if (iop == 0)
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_bitmap.c714 bm_getiov(int bmd, bm_io_t *iop) argument
721 if (!iop)
725 else if (iop->bmio_iovcnt <= 0)
729 vp = iop->bmio_iov;
730 for (i = 0; i < iop->bmio_iovcnt; vp++, i++) {
747 bm_setiov(int bmd, bm_io_t *iop) argument
754 if (!iop)
758 else if (iop->bmio_iovcnt <= 0)
760 else if (!iop->bmio_iov)
764 vp = iop
1494 dbm_getiov(int bmd, bm_io_t *iop) argument
1527 dbm_setiov(int bmd, bm_io_t *iop) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dinput.c89 Elf_Void *iop; local
146 iop = (Elf_Void *)(elf->ed_image + off);
154 (read(elf->ed_fd, iop, sz) != sz)) {
178 iop = (Elf_Void *)(elf->ed_image + off);
185 (read(elf->ed_fd, iop, sz) != sz)) {
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c608 lnsync(FILE *iop) argument
613 if (!sflag || iop != stdout)
619 (void) fprintf(iop, "#line %d \"", cline = fline[ifx]);
620 fpath(iop);
621 (void) fprintf(iop, "\"\n");
623 (void) fprintf(iop, "#line %d\n", cline = fline[ifx]);
627 fpath(FILE *iop) argument
634 (void) fprintf(iop, "%s", fname[0]);
637 (void) fprintf(iop, ":%s", fname[i]);
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprof.c170 static void eofon(FILE *iop, char *fn);
1206 eofon(FILE *iop, char *fn) argument
1208 if (ferror(iop)) /* Real error? */
/illumos-gate/usr/src/cmd/sh/
H A Dcmd.c509 struct ionod *iop; local
544 iop = (struct ionod *)getstor(sizeof(struct ionod));
547 iop->ioname = (char *) make(wdarg->argval);
549 iop->ioname = (char *) (wdarg->argval);
551 iop->iolink = 0;
552 iop->iofile = iof;
555 iop->iolst = iopend;
556 iopend = iop;
559 iop->ionxt = inout(lastio);
560 return(iop);
[all...]
H A Dfunc.c40 static void prio(struct ionod *iop);
145 freeio(struct ionod *iop) argument
149 while (iop)
151 if (iop->iofile & IODOC)
156 prs(iop->ioname);
160 unlink(iop->ioname);
162 if (fiotemp == iop)
163 fiotemp = iop->iolst;
168 while (fiop->iolst != iop)
171 fiop->iolst = iop
420 prio(struct ionod *iop) argument
[all...]
H A Dio.c223 struct ionod *iop; local
233 if (iop = ioparg) {
235 copy(iop->iolst);
236 ends = mactrim(iop->ioname);
237 stripflg = iop->iofile & IOSTRIP;
239 iop->iofile &= ~IODOC_SUBST;
243 iop->ioname = (char *)make(tmpout);
245 iop->ioname = (char *)cpystak(tmpout);
247 iop->iolst = iotemp;
248 iotemp = iop;
[all...]
H A Dservice.c50 initio(struct ionod *iop, int save) argument
59 while (iop) {
60 iof = iop->iofile;
61 ion = mactrim(iop->ioname);
110 iop = iop->ionxt;
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c1683 fma_io_resp_t *iop; local
1723 iop = (fma_io_resp_t *)resp;
1724 switch (iop->result) {
1728 *virt_addr = iop->virt_rsrc_address;
1729 *did = iop->domain_id;
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dwordexp.c67 register Sfio_t *iop; local
126 if(!(iop = sfpopen((Sfio_t*)0,stakptr(0),"r")))
133 while((c=sfgetc(iop)) != EOF)
144 if(c=sfclose(iop))
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcdos.c109 static ssize_t dos_read(Sfio_t *iop, void *buff, size_t size, Sfdisc_t* disc) argument
111 static ssize_t dos_read(iop, buff, size, disc)
112 Sfio_t *iop;
129 if((n = sfrd(iop,buff,size,disc)) <= 0)
230 static Sfoff_t cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) argument
232 static Sfoff_t cur_offset(dp, offset, iop, whence)
235 Sfio_t *iop;
246 iop->next = iop->data + n;
271 iop
276 dos_seek(Sfio_t *iop, Sfoff_t offset, register int whence, Sfdisc_t* disc) argument
367 dos_except(Sfio_t *iop, int type, void *arg, Sfdisc_t *disc) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dgetpass.c53 Sfio_t *iop; local
56 if(!(iop = sfopen((Sfio_t*)0, "/dev/tty", "r")))
58 if(tcgetattr(sffileno(iop),&told) < 0)
63 if(tcsetattr(sffileno(iop),TCSANOW,&tnew) < 0)
67 if(cp = sfgetr(iop,'\n',1))
69 tcsetattr(sffileno(iop),TCSANOW,&told);
71 sfclose(iop);
/illumos-gate/usr/src/lib/libc/inc/
H A Dmse.h50 * with the specified iop.
57 #define _getmbstate(iop) (&(iop)->_state)
64 * This function/macro gets the orientation bound to the specified iop.
67 * _WC_MODE if iop has been bound to Wide orientation
68 * _BYTE_MODE if iop has been bound to Byte orientation
69 * _NO_MODE if iop has been bound to neither Wide nor Byte
75 * This function/macro sets the orientation to the specified iop.
96 #define _SET_ORIENTATION_BYTE(iop) \
98 if (GET_NO_MODE(iop)) \
[all...]
H A Dmtlib.h81 #define FILELOCKING(iop) (GET_IONOLOCK(iop) == 0)
83 #define FLOCKFILE(lk, iop) \
85 if (__libc_threaded && FILELOCKING(iop)) \
86 lk = _flockget((iop)); \
97 #define FLOCKRETURN(iop, ret) \
100 FLOCKFILE(lk, iop); \
H A Dstdiom.h70 #define SET_IONOLOCK(iop) ((iop)->_flag |= _IONOLOCK)
71 #define CLEAR_IONOLOCK(iop) ((iop)->_flag &= ~_IONOLOCK)
72 #define GET_IONOLOCK(iop) ((iop)->_flag & _IONOLOCK)
73 #define SET_BYTE_MODE(iop) ((iop)->_flag |= _BYTE_MODE_FLAG)
74 #define CLEAR_BYTE_MODE(iop) ((iop)
[all...]

Completed in 74 milliseconds

12345