Make UEFI boot-platform build again
[haiku.git] / headers / private / fs_shell / fssh_stdio.h
blobe931ee7e77e09b355dfffee8d061b57d19fa85ab
1 #ifndef _FSSH_STDIO_H_
2 #define _FSSH_STDIO_H_
4 #include <stdarg.h>
6 #include "fssh_defs.h"
9 #ifdef FSSH_EOF
10 # undef FSSH_EOF
11 #endif
12 #define FSSH_EOF -1
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 /* file operations */
20 extern int fssh_remove(const char *name);
21 extern int fssh_rename(const char *from, const char *to);
23 /* formatted I/O */
24 extern int fssh_sprintf(char *string, char const *format, ...)
25 __attribute__ ((format (__printf__, 2, 3)));
26 extern int fssh_snprintf(char *string, fssh_size_t size,
27 char const *format, ...)
28 __attribute__ ((format (__printf__, 3, 4)));
29 extern int fssh_vsprintf(char *string, char const *format, va_list ap);
30 extern int fssh_vsnprintf(char *string, fssh_size_t size,
31 char const *format, va_list ap);
33 extern int fssh_sscanf(char const *str, char const *format, ...);
34 extern int fssh_vsscanf(char const *str, char const *format, va_list ap);
36 #ifdef __cplusplus
38 #endif
40 #endif /* _FSSH_STDIO_H_ */