Lines Matching refs:PerlIO
10 PerlIO *PerlIO_stdin(void);
11 PerlIO *PerlIO_stdout(void);
12 PerlIO *PerlIO_stderr(void);
14 PerlIO *PerlIO_open(const char *path,const char *mode);
15 PerlIO *PerlIO_fdopen(int fd, const char *mode);
16 PerlIO *PerlIO_reopen(const char *path, /* deprecated */
17 const char *mode, PerlIO *old);
18 int PerlIO_close(PerlIO *f);
21 int PerlIO_puts(PerlIO *f,const char *string);
22 int PerlIO_putc(PerlIO *f,int ch);
23 SSize_t PerlIO_write(PerlIO *f,const void *buf,size_t numbytes);
24 int PerlIO_printf(PerlIO *f, const char *fmt,...);
25 int PerlIO_vprintf(PerlIO *f, const char *fmt, va_list args);
26 int PerlIO_flush(PerlIO *f);
28 int PerlIO_fill(PerlIO *f);
29 int PerlIO_eof(PerlIO *f);
30 int PerlIO_error(PerlIO *f);
31 void PerlIO_clearerr(PerlIO *f);
33 int PerlIO_getc(PerlIO *d);
34 int PerlIO_ungetc(PerlIO *f,int ch);
35 SSize_t PerlIO_read(PerlIO *f, void *buf, size_t numbytes);
36 Size_t PerlIO_unread(PerlIO *f,const void *vbuf, size_t count
38 int PerlIO_fileno(PerlIO *f);
40 void PerlIO_setlinebuf(PerlIO *f);
42 Off_t PerlIO_tell(PerlIO *f);
43 int PerlIO_seek(PerlIO *f, Off_t offset, int whence);
44 void PerlIO_rewind(PerlIO *f);
46 int PerlIO_getpos(PerlIO *f, SV *save); /* prototype changed */
47 int PerlIO_setpos(PerlIO *f, SV *saved); /* prototype changed */
49 int PerlIO_fast_gets(PerlIO *f);
50 int PerlIO_has_cntptr(PerlIO *f);
51 SSize_t PerlIO_get_cnt(PerlIO *f);
52 char *PerlIO_get_ptr(PerlIO *f);
53 void PerlIO_set_ptrcnt(PerlIO *f, char *ptr, SSize_t count);
55 int PerlIO_canset_cnt(PerlIO *f); /* deprecated */
56 void PerlIO_set_cnt(PerlIO *f, int count); /* deprecated */
58 int PerlIO_has_base(PerlIO *f);
59 char *PerlIO_get_base(PerlIO *f);
60 SSize_t PerlIO_get_bufsiz(PerlIO *f);
62 PerlIO *PerlIO_importFILE(FILE *stdio, const char *mode);
63 FILE *PerlIO_exportFILE(PerlIO *f, const char *mode);
64 FILE *PerlIO_findFILE(PerlIO *f);
65 void PerlIO_releaseFILE(PerlIO *f,FILE *stdio);
67 int PerlIO_apply_layers(pTHX_ PerlIO *f, const char *mode,
69 int PerlIO_binmode(pTHX_ PerlIO *f, int ptype, int imode,
75 =for apidoc Amh|int |PerlIO_apply_layers|PerlIO *f|const char *mode|const char *layers
76 =for apidoc_item |int |PerlIO_binmode|PerlIO *f|int ptype|int imode|const char *layers
77 =for apidoc_item T|int |PerlIO_canset_cnt|PerlIO *f
83 =for apidoc_item T|FILE * |PerlIO_exportFILE|PerlIO *f|const char *mode
84 =for apidoc_item T|int |PerlIO_fast_gets|PerlIO *f
85 =for apidoc_item T|PerlIO * |PerlIO_fdopen|int fd|const char *mode
88 =for apidoc_item T|FILE * |PerlIO_findFILE|PerlIO *f
94 =for apidoc_item T|int |PerlIO_getc|PerlIO *d
95 =for apidoc_item T|int |PerlIO_getpos|PerlIO *f|SV *save
96 =for apidoc_item T|int |PerlIO_has_base|PerlIO *f
97 =for apidoc_item T|int |PerlIO_has_cntptr|PerlIO *f
98 =for apidoc_item T|PerlIO * |PerlIO_importFILE|FILE *stdio|const char *mode
99 =for apidoc_item T|PerlIO * |PerlIO_open|const char *path|const char *mode
100 =for apidoc_item T|int |PerlIO_printf|PerlIO *f|const char *fmt|...
101 =for apidoc_item T|int |PerlIO_putc|PerlIO *f|int ch
102 =for apidoc_item T|int |PerlIO_puts|PerlIO *f|const char *string
104 =for apidoc_item T|void |PerlIO_releaseFILE|PerlIO *f|FILE *stdio
105 =for apidoc_item T|PerlIO * |PerlIO_reopen|const char *path|const char *mode|PerlIO *old
106 =for apidoc_item T|void |PerlIO_rewind|PerlIO *f
111 =for apidoc_item T|int |PerlIO_setpos|PerlIO *f|SV *saved
117 =for apidoc_item T|int |PerlIO_ungetc|PerlIO *f|int ch
119 =for apidoc_item T|int |PerlIO_vprintf|PerlIO *f|const char *fmt|va_list args
132 C<PerlIO *> takes the place of FILE *. Like FILE * it should be
143 functions which call stdio. In this case I<only> PerlIO * is a FILE *.
154 choose to do things. For USE_PERLIO PerlIO * has an extra layer of
155 indirection - it is a pointer-to-a-pointer. This allows the PerlIO *
198 used by the existing PerlIO. This may become the behaviour of this
337 This corresponds to tmpfile(), i.e., returns an anonymous PerlIO or
359 There is outline support for co-existence of PerlIO with stdio.
360 Obviously if PerlIO is implemented in terms of stdio there is no
373 to #define stdio functions onto PerlIO functions.
383 Used to get a PerlIO * from a FILE *.
392 C<PerlIO_close()> on the returned PerlIO *.
394 The PerlIO is set to textmode. Use PerlIO_binmode if this is
401 Given a PerlIO * create a 'native' FILE * suitable for passing to code
405 mode as the PerlIO *.
408 by pushing a new :stdio "layer" onto the PerlIO *), which may affect
409 future PerlIO operations on the original PerlIO *. You should not
411 to disassociate it from the PerlIO *. (Do not use PerlIO_importFILE()
419 Calling PerlIO_releaseFILE informs PerlIO that all use of FILE * is
421 associated PerlIO * should revert to its original behaviour.
423 Use this to disassociate a file from a PerlIO * that was associated
430 should be considered as belonging to PerlIO subsystem and should
440 PerlIO. The following calls correspond to the various FILE_xxx macros
443 concerned with detailed perl-core behaviour, implementing a PerlIO
568 debugging. No return value. Its main use is inside PerlIO where using
569 real printf, warn() etc. would recursively call PerlIO and be a