mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
Finished the bulk of changes to use estream in most places instead of
stdio.
This commit is contained in:
parent
37870234a1
commit
fb2ba98963
32 changed files with 824 additions and 711 deletions
|
@ -80,6 +80,7 @@
|
|||
#define es_fdopen_nc _ESTREAM_PREFIX(es_fdopen_nc)
|
||||
#define es_fpopen _ESTREAM_PREFIX(es_fpopen)
|
||||
#define es_fpopen_nc _ESTREAM_PREFIX(es_fpopen_nc)
|
||||
#define _es_get_std_stream _ESTREAM_PREFIX(_es_get_std_stream)
|
||||
#define es_freopen _ESTREAM_PREFIX(es_freopen)
|
||||
#define es_fopencookie _ESTREAM_PREFIX(es_fopencookie)
|
||||
#define es_fclose _ESTREAM_PREFIX(es_fclose)
|
||||
|
@ -250,6 +251,13 @@ int es_fclose (estream_t stream);
|
|||
int es_fileno (estream_t stream);
|
||||
int es_fileno_unlocked (estream_t stream);
|
||||
|
||||
estream_t _es_get_std_stream (int fd);
|
||||
|
||||
#define es_stdin _es_get_std_stream (0)
|
||||
#define es_stdout _es_get_std_stream (1)
|
||||
#define es_stderr _es_get_std_stream (2)
|
||||
|
||||
|
||||
void es_flockfile (estream_t stream);
|
||||
int es_ftrylockfile (estream_t stream);
|
||||
void es_funlockfile (estream_t stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue