Searched refs:f_flags (Results 1 - 25 of 25) sorted by relevance

/sendmail/libsm/
H A Dwsetup.c46 if ((fp->f_flags & SMWR) == 0)
48 if ((fp->f_flags & SMRW) == 0)
53 if (fp->f_flags & SMRD)
60 fp->f_flags &= ~(SMRD|SMFEOF);
64 fp->f_flags |= SMWR;
70 if (fp->f_flags & SMLBF)
82 fp->f_w = fp->f_flags & SMNBF ? 0 : fp->f_bf.smb_size;
H A Drefill.c88 fp->f_flags |= SMERR; \
122 if ((fp->f_flags & (SMLBF|SMWR)) == (SMLBF|SMWR))
169 if (fp->f_flags & SMFEOF)
175 if ((fp->f_flags & SMRD) == 0)
177 if ((fp->f_flags & SMRW) == 0)
180 fp->f_flags |= SMERR;
185 if (fp->f_flags & SMWR)
189 fp->f_flags &= ~SMWR;
193 fp->f_flags |= SMRD;
225 if (fp->f_flags
[all...]
H A Dfpurge.c39 if (!fp->f_flags)
51 fp->f_w = fp->f_flags & (SMLBF|SMNBF) ? 0 : fp->f_bf.smb_size;
H A Dungetc.c117 if ((fp->f_flags & SMRD) == 0)
124 if ((fp->f_flags & SMRW) == 0)
126 if (fp->f_flags & SMWR)
130 fp->f_flags &= ~SMWR;
134 fp->f_flags |= SMRD;
151 fp->f_flags &= ~SMFEOF;
H A Dfpos.c116 if (fp->f_flags & SMOFF)
125 if (fp->f_flags & SMRD)
137 else if (fp->f_flags & SMWR && fp->f_p != NULL)
H A Dfseek.c147 if (fp->f_flags & SMOFF)
158 if (fp->f_flags & SMRD)
164 else if (fp->f_flags & SMWR && fp->f_p != NULL)
195 if (fp->f_flags & (SMWR | SMRW | SMNBF | SMNPT))
197 if ((fp->f_flags & SMOPT) == 0)
203 fp->f_flags |= SMNPT;
207 fp->f_flags |= SMOPT;
226 if (fp->f_flags & SMOFF)
275 fp->f_flags &= ~SMFEOF;
296 fp->f_flags
[all...]
H A Dfclose.c120 r = fp->f_flags & SMWR ? sm_flush(fp, (int *) &timeout) : 0;
138 if (fp->f_flags & SMMBF)
145 fp->f_flags = 0; /* clear flags */
H A Dfflush.c54 if ((fp->f_flags & (SMWR | SMRW)) == 0)
99 t = fp->f_flags;
142 fp->f_flags |= SMERR;
H A Dfwalk.c48 if (fp->f_flags != 0)
H A Dmakebuf.c48 if (fp->f_flags & SMNBF)
57 fp->f_flags |= SMNBF;
69 fp->f_flags |= flags;
142 if ((fp->f_flags & SMSTR) == 0)
H A Dfvwrite.c86 if (fp->f_flags & SMNBF)
112 else if ((fp->f_flags & SMLBF) == 0)
130 if ((((fp->f_flags & (SMALC | SMSTR)) == (SMALC | SMSTR))
131 || ((fp->f_flags & SMNOW) != 0))
158 if (fp->f_flags & SMSTR)
204 if ((fp->f_flags & SMNOW) != 0 && sm_flush(fp, &timeout))
277 fp->f_flags |= SMERR;
H A Dsetvbuf.c86 flags = fp->f_flags;
133 fp->f_flags = flags | SMNBF;
163 fp->f_flags = flags;
H A Dwbuf.c84 if (++n == fp->f_bf.smb_size || (fp->f_flags & SMLBF && c == '\n'))
H A Dstdio.c247 fp->f_flags = fp->f_flags & ~SMMODEMASK;
248 fp->f_flags |= flags;
271 switch (fp->f_flags & SMMODEMASK)
514 fp->f_flags = 0;
H A Dfopen.c150 fp->f_flags = 0; /* release */
278 fp->f_flags = SMFEOF; /* hold on to it */
296 fp2->f_flags = 0; /* release */
H A Dfread.c77 if ((fp->f_flags & SMNOW) != 0 && r > 0)
H A Dsnprintf.c69 fake.f_flags = SMWR | SMSTR;
H A Dsscanf.c83 fake.f_flags = SMRD;
H A Dvasprintf.c69 fake.f_flags = SMWR | SMSTR | SMALC;
H A Dvsnprintf.c65 fake.f_flags = SMWR | SMSTR;
H A Dvfprintf.c112 fake.f_flags = fp->f_flags & ~SMNBF;
132 if (fake.f_flags & SMERR)
133 fp->f_flags |= SMERR;
320 if ((fp->f_flags & (SMNBF|SMWR|SMRW)) == (SMNBF|SMWR) &&
H A Dlocal.h82 ((((fp)->f_flags & SMWR) == 0 || (fp)->f_bf.smb_base == NULL) && \
H A Dstrio.c480 fp->f_flags = SMWR | SMSTR;
H A Dfindfp.c181 fp->f_flags = flags;
/sendmail/include/sm/
H A Dio.h111 long f_flags; /* flags, below */ member in struct:sm_file
194 (f).f_flags = 0L; \
373 #define sm_eof(p) (((p)->f_flags & SMFEOF) != 0)
374 #define sm_error(p) (((p)->f_flags & SMERR) != 0)
375 #define sm_clearerr(p) ((void)((p)->f_flags &= ~(SMERR|SMFEOF)))

Completed in 1856 milliseconds