1stdio.h(3HEAD)                      Headers                     stdio.h(3HEAD)
2
3
4

NAME

6       stdio.h, stdio - standard buffered input/output
7

SYNOPSIS

9       #include <stdio.h>
10
11

DESCRIPTION

13       The  <stdio.h>  header defines the following macros as positive integer
14       constant expressions:
15
16       BUFSIZ       size of <stdio.h> buffers
17
18
19       _IOFBF       input/output fully buffered
20
21
22       _IOLBF       input/output line buffered
23
24
25       _IONBF       input/output unbuffered
26
27
28       L_ctermid    maximum size of character array to hold ctermid() output
29
30
31       L_tmpnam     maximum size of character array to hold tmpnam() output
32
33
34       SEEK_CUR     seek relative to current position
35
36
37       SEEK_END     seek relative to end-of-file
38
39
40       SEEK_SET     seek relative to start-of-file
41
42
43
44       The following macros are defined as positive integer  constant  expres‐
45       sions that denote implementation limits:
46
47       {FILENAME_MAX}    Maximum  size in bytes of the longest filename string
48                         that the implementation guarantees can be opened.
49
50
51       {FOPEN_MAX}       Number of streams that the implementation  guarantees
52                         can  be  open  simultaneously.  The value is at least
53                         eight.
54
55
56       {TMP_MAX}         Minimum number of unique filenames generated by  tmp‐
57                         nam().  Maximum  number  of  times an application can
58                         call tmpnam() reliably. The value of {TMP_MAX} is  at
59                         least  25.  On  XSI-conformant  systems, the value of
60                         {TMP_MAX} is at least 10000.
61
62
63
64       The following macro name is defined  as  a  negative  integer  constant
65       expression:
66
67       EOF    end-of-file return value
68
69
70
71       The following macro name is defined as a null pointer constant:
72
73       NULL    null pointer
74
75
76
77       The following macro name is defined as a string constant:
78
79       P_tmpdir    default directory prefix for tempnam()
80
81
82
83       The following is defined as expressions of type "pointer to FILE" point
84       to the FILE objects associated, respectively, with the standard  error,
85       input, and output streams:
86
87       stderr    standard error output stream
88
89
90       stdin     standard input stream
91
92
93       stdout    standard output stream
94
95
96
97       The following data types are defined through typedef:
98
99       FILE       structure containing information about a file
100
101
102       fpos_t     non-array  type containing all information needed to specify
103                  uniquely every position within a file
104
105
106       va_list    as described in <stdarg.h>
107
108
109       size_t     as described in <stddef.h>
110
111

ATTRIBUTES

113       See attributes(5) for descriptions of the following attributes:
114
115
116
117
118       ┌─────────────────────────────┬─────────────────────────────┐
119       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
120       ├─────────────────────────────┼─────────────────────────────┤
121       │Interface Stability          │Standard                     │
122       └─────────────────────────────┴─────────────────────────────┘
123

SEE ALSO

125       rename(2), ctermid(3C), fclose(3C), fdopen(3C), fflush(3C),  fgetc(3C),
126       fgetpos(3C), fgets(3C), flockfile(3C), fopen(3C), fputc(3C), fputs(3C),
127       fputwc(3C), fread(3C), freopen(3C), fseek(3C), fsetpos(3C),  ftell(3C),
128       fwrite(3C),    getwchar(3C),    getopt(3C),    perror(3C),   popen(3C),
129       printf(3C), remove(3C), rewind(3C), scanf(3C),  setbuf(3C),  stdio(3C),
130       system(3C),    tmpfile(3C),    tmpnam(3C),   ungetc(3C),   vprintf(3C),
131       attributes(5), standards(5)
132
133
134
135SunOS 5.11                        10 Sep 2004                   stdio.h(3HEAD)
Impressum