Lines Matching defs:fp
120 FILE *fp;
141 if ((fp = __sfp()) == NULL) {
154 fp->_flags = 0;
174 fp->_flags = (short)flags;
175 fp->_file = -1;
176 fp->_cookie = (void *)st;
177 fp->_read = (flags & __SWR) ? NULL : fmemopen_read;
178 fp->_write = (flags & __SRD) ? NULL : fmemopen_write;
179 fp->_seek = fmemopen_seek;
180 fp->_close = (buf == NULL) ? fmemopen_close_free : fmemopen_close;
182 return (fp);