/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | getline.c | 28 getline (char **lineptr, size_t *n, FILE *stream) argument 30 return getdelim (lineptr, n, '\n', stream);
|
H A D | stdio-write.c | 1 /* POSIX compatible FILE stream write function. 30 which flushes the buffer of a FILE stream. */ 42 if (ferror (stream)) \ 49 if (FAILED && GetLastError () == ERROR_NO_DATA && ferror (stream)) \ 51 int fd = fileno (stream); \ 82 fprintf (FILE *stream, const char *format, ...) argument 88 retval = vfprintf (stream, format, args); 105 vfprintf (FILE *stream, const char *format, va_list args) argument 108 CALL_WITH_SIGPIPE_EMULATION (int, vfprintf (stream, format, args), ret == EOF) 119 fputc (int c, FILE *stream) argument 126 fputs(const char *string, FILE *stream) argument 136 FILE *stream = stdout; local 141 fwrite(const void *ptr, size_t s, size_t n, FILE *stream) argument [all...] |
H A D | argp-fmtstream.c | 59 __argp_make_fmtstream (FILE *stream, 67 fs->stream = stream; 97 /* Flush FS to its stream, and free it (but don't close the stream). */ 105 __fxprintf (fs->stream, "%.*s", (int) (fs->p - fs->buf), fs->buf); 107 fwrite_unlocked (fs->buf, 1, fs->p - fs->buf, fs->stream); 155 if (_IO_fwide (fs->stream, 0) > 0) 156 putwc_unlocked (L' ', fs->stream); 159 putc_unlocked (' ', fs->stream); 58 __argp_make_fmtstream(FILE *stream, size_t lmargin, size_t rmargin, ssize_t wmargin) argument [all...] |
H A D | argp-fmtstream.h | 52 object, it just modifies the given stream (reversibly) to do 94 FILE *stream; /* The stream we're outputting to. */ 126 /* Flush __FS to its stream, and free it (but don't close the stream). */ 93 FILE *stream; /* The stream we're outputting to. */ member in struct:argp_fmtstream
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/XS/Typemap/ |
H A D | stdio.c | 15 FILE * stream; local 16 stream = fopen( path, "w"); 17 return stream; 20 int xsfclose ( FILE * stream ) { 21 return fclose( stream ); 25 int xsfprintf ( FILE * stream, const char * text ) { argument 26 return fprintf( stream, text );
|
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | close-stream.c | 1 /* Close a stream, with nicer error checking than fclose's. 20 #include "close-stream.h" 43 printf can succeed in writing to the internal stream buffer, and yet 52 that writes to STREAM -- just let the internal stream state record 56 close_stream (FILE *stream) argument 58 const bool some_pending = (__fpending (stream) != 0); 59 const bool prev_fail = (ferror (stream) != 0); 60 const bool fclose_fail = (fclose (stream) != 0);
|
H A D | version-etc.c | 62 version_etc_arn (FILE *stream, argument 68 fprintf (stream, "%s (%s) %s\n", command_name, package, version); 70 fprintf (stream, "%s %s\n", package, version); 74 fprintf (stream, _("Packaged by %s (%s)\n"), PACKAGE_PACKAGER, 77 fprintf (stream, _("Packaged by %s\n"), PACKAGE_PACKAGER); 84 fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR); 93 stream); 102 fprintf (stream, _("Written by %s.\n"), authors[0]); 106 fprintf (stream, _("Written by %s and %s.\n"), authors[0], authors[1]); 110 fprintf (stream, 180 version_etc_ar(FILE *stream, const char *command_name, const char *package, const char *version, const char * const * authors) argument 196 version_etc_va(FILE *stream, const char *command_name, const char *package, const char *version, va_list authors) argument 227 version_etc(FILE *stream, const char *command_name, const char *package, const char *version, ...) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | globals.c | 20 Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) argument 25 return PerlIO_vprintf(stream, format, arglist);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | t-smstdio.c | 24 FILE *stream; local 33 stream = fopen("t-smstdio.1", "w"); 34 SM_TEST(stream != NULL); 36 fp = sm_io_stdioopen(stream, "w"); 44 ** stream should now be closed. This is a tricky way to test 48 fprintf(stream, "oops! stream is still open!\n"); 49 fclose(stream); 52 stream = fopen("t-smstdio.1", "r"); 53 SM_TEST(stream ! [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | pfmt.c | 44 pfmt(FILE *stream, long flag, const char *format, ...) argument 49 return (__pfmt_print(stream, flag, format, NULL, NULL, args));
|
H A D | vpfmt.c | 49 vpfmt(FILE *stream, long flag, const char *format, va_list args) argument 51 return (__pfmt_print(stream, flag, format, NULL, NULL, args));
|
H A D | lfmt.c | 47 lfmt(FILE *stream, long flag, const char *format, ...) argument 54 if ((ret = __pfmt_print(stream, flag, format, &text, &sev, args)) < 0)
|
H A D | vlfmt.c | 47 vlfmt(FILE *stream, long flag, const char *format, va_list args) argument 52 if ((ret = __pfmt_print(stream, flag, format, &text, &sev, args)) < 0)
|
H A D | pfmt_print.c | 61 __pfmt_print(FILE *stream, long flag, const char *format, argument 107 if (label[0] != '\0' && stream) { 108 if ((status = fputs(label, stream)) < 0) 111 if ((status = fputs(colon, stream)) < 0) 145 if (stream) { 146 if ((status = fprintf(stream, psev, severity)) < 0) 149 if ((status = fputs(colon, stream)) < 0) 157 if (stream) { 158 if ((status = vfprintf(stream, format, args)) < 0)
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | fpos.c | 37 fgetpos64(FILE *stream, fpos64_t *pos) argument 39 if ((*pos = (fpos64_t)ftello64(stream)) == (fpos64_t)-1) 45 fsetpos64(FILE *stream, const fpos64_t *pos) argument 47 if (fseeko64(stream, (off64_t)*pos, SEEK_SET) != 0) 55 fgetpos(FILE *stream, fpos_t *pos) argument 57 if ((*pos = (fpos_t)ftello(stream)) == (fpos_t)-1) 63 fsetpos(FILE *stream, const fpos_t *pos) argument 65 if (fseeko(stream, (off_t)*pos, SEEK_SET) != 0)
|
H A D | getw.c | 34 * bytes in an io-stream correspond to the order of the bytes 48 /* Read sizeof(int) characters from stream and return these in an int */ 50 getw(FILE *stream) argument 58 FLOCKFILE(lk, stream); 59 while (--i >= 0 && !(stream->_flag & (_IOERR | _IOEOF))) 60 *s++ = GETC(stream); 61 ret = ((stream->_flag & (_IOERR | _IOEOF)) ? EOF : w);
|
H A D | putw.c | 34 * bytes in an io-stream correspond to the order of the bytes 49 putw(int w, FILE *stream) argument 56 FLOCKFILE(lk, stream); 57 while (--i >= 0 && PUTC(*s++, stream) != EOF) 59 ret = stream->_flag & _IOERR;
|
H A D | __extensions.c | 39 * on the stream was a read e.g. fread() or fgetc(). Otherwise returns 0. 42 __freading(FILE *stream) argument 44 return (stream->_flag & _IOREAD); 49 * the last operation on the stream was a write e.g. fwrite() or fputc(). 53 __fwriting(FILE *stream) argument 55 return (stream->_flag & _IOWRT); 59 * Returns non-zero if it is possible to read from a stream. 62 __freadable(FILE *stream) argument 64 return (stream->_flag & (_IOREAD|_IORW)); 68 * Returns non-zero if it is possible to write on a stream 71 __fwritable(FILE *stream) argument 80 __flbf(FILE *stream) argument 89 __fpurge(FILE *stream) argument 103 __fpending(FILE *stream) argument 118 __fbufsize(FILE *stream) argument [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | iexpand.c | 109 * Print out a string onto a stream, changing unprintables into 113 tpr(FILE *stream, char *string) argument 116 (void) fprintf(stream, "%s", iexpand(string));
|
H A D | cexpand.c | 237 * Print out a string onto a stream, changing unprintables into 241 cpr(FILE *stream, char *string) argument 246 (void) fprintf(stream, "%s", ret);
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | logging_p.h | 24 FILE *stream; member in struct:log_file_desc
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | aead.c | 242 krb5_crypto_iov *stream; local 246 stream = krb5int_c_locate_iov(data, num_data, KRB5_CRYPTO_TYPE_STREAM); 247 assert(stream != NULL); 252 if (stream->data.length < header_len + trailer_len) 262 iov[i].data = make_data(stream->data.data, header_len); 274 data[j].data.data = stream->data.data + header_len; 275 data[j].data.length = stream->data.length - header_len 289 iov[i].data = make_data(stream->data.data + stream->data.length -
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-editenv.c | 57 print_version (FILE *stream, struct argp_state *state) argument 59 fprintf (stream, "%s (%s) %s\n", program_name, PACKAGE_NAME, PACKAGE_VERSION);
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | logging.c | 200 FILE *stream; local 207 stream = stdout; 217 stream = stderr; 221 return stream; 413 * Note: For this handler, @data is a pointer to a FILE output stream. 425 FILE *stream; local 429 if (!data) /* Interpret data as a FILE stream. */ 431 stream = (FILE*)data; 461 ret += fprintf(stream, col_prefix); 468 ret += fprintf(stream, " [all...] |
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | getdaent.c | 114 * reads one device_alloc/device_maps line from stream into buff of len 115 * bytes. Continued lines from stream are concatenated into one line in 121 getdadmline(char *buff, int len, FILE *stream) argument 135 if (fgets(cp, len - charcnt, stream) == NULL) {
|