1 #ifndef _VSTRING_VSTREAM_H_INCLUDED_
2 #define _VSTRING_VSTREAM_H_INCLUDED_
33 #define vstring_fgets(s, p) \
34 (vstring_get((s), (p)) == VSTREAM_EOF ? 0 : (s))
35 #define vstring_fgets_nonl(s, p) \
36 (vstring_get_nonl((s), (p)) == VSTREAM_EOF ? 0 : (s))
37 #define vstring_fgets_null(s, p) \
38 (vstring_get_null((s), (p)) == VSTREAM_EOF ? 0 : (s))
39 #define vstring_fgets_bound(s, p, l) \
40 (vstring_get_bound((s), (p), (l)) == VSTREAM_EOF ? 0 : (s))
41 #define vstring_fgets_nonl_bound(s, p, l) \
42 (vstring_get_nonl_bound((s), (p), (l)) == VSTREAM_EOF ? 0 : (s))
int WARN_UNUSED_RESULT vstring_get_nonl(VSTRING *, VSTREAM *)
int WARN_UNUSED_RESULT vstring_get_bound(VSTRING *, VSTREAM *, ssize_t)
#define WARN_UNUSED_RESULT
int WARN_UNUSED_RESULT vstring_get_null(VSTRING *, VSTREAM *)
int WARN_UNUSED_RESULT vstring_get_null_bound(VSTRING *, VSTREAM *, ssize_t)
int WARN_UNUSED_RESULT vstring_get_nonl_bound(VSTRING *, VSTREAM *, ssize_t)
int WARN_UNUSED_RESULT vstring_get(VSTRING *, VSTREAM *)