Rudiments
outputinlines.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4inline
6 return -1;
7}
8
9inline
11 return -1;
12}
13
14inline
16 return -1;
17}
18
19inline
21 return -1;
22}
23
24inline
25ssize_t output::printf(const char *format, ...) {
28 ssize_t retval=printfDelegate(format,&argp);
29 va_end(argp);
30 return retval;
31}
32
33inline
34ssize_t output::printf(const char *format, va_list *argp) {
35 return printfDelegate(format,argp);
36}
37
38inline
39ssize_t output::printf(const wchar_t *format, ...) {
42 ssize_t retval=printfDelegate(format,&argp);
43 va_end(argp);
44 return retval;
45}
46
47inline
48ssize_t output::printf(const wchar_t *format, va_list *argp) {
49 return printfDelegate(format,argp);
50}
51
52inline
53ssize_t output::printfUcs2(const ucs2_t *format, ...) {
56 ssize_t retval=printfUcs2Delegate(format,&argp);
57 va_end(argp);
58 return retval;
59}
60
61inline
62ssize_t output::printfUcs2(const ucs2_t *format, va_list *argp) {
63 return printfUcs2Delegate(format,argp);
64}
Definition avltree.h:11
virtual off64_t setPositionRelativeToEnd(off64_t offset)
Definition outputinlines.h:15
virtual ssize_t printf(const char *format,...)
Definition outputinlines.h:25
virtual off64_t setPositionRelativeToCurrent(off64_t offset)
Definition outputinlines.h:10
virtual off64_t getPosition()
Definition outputinlines.h:20
virtual off64_t setPositionRelativeToBeginning(off64_t offset)
Definition outputinlines.h:5
virtual ssize_t printfUcs2(const ucs2_t *format,...)
Definition outputinlines.h:53