diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-13 15:45:16 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-13 15:45:16 +0000 |
commit | 12f32660d14e442e42ed667c106fec3a9db79856 (patch) | |
tree | e44405a7e5212758d20a9595cbb0a82609d4a347 /include/libbb.h | |
parent | e02e2f9792dc829c10ca3f18a1fab0294404ffea (diff) | |
download | busybox-w32-12f32660d14e442e42ed667c106fec3a9db79856.tar.gz busybox-w32-12f32660d14e442e42ed667c106fec3a9db79856.tar.bz2 busybox-w32-12f32660d14e442e42ed667c106fec3a9db79856.zip |
Patch from Denis Vlasenko to add xstat() and use it.
git-svn-id: svn://busybox.net/trunk/busybox@14530 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index bc3fa5990..0ec332b30 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -122,6 +122,8 @@ extern FILE *bb_xfopen(const char *path, const char *mode); | |||
122 | extern int bb_fclose_nonstdin(FILE *f); | 122 | extern int bb_fclose_nonstdin(FILE *f); |
123 | extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; | 123 | extern void bb_fflush_stdout_and_exit(int retval) ATTRIBUTE_NORETURN; |
124 | 124 | ||
125 | extern void xstat(const char *filename, struct stat *buf); | ||
126 | |||
125 | #define BB_GETOPT_ERROR 0x80000000UL | 127 | #define BB_GETOPT_ERROR 0x80000000UL |
126 | extern const char *bb_opt_complementally; | 128 | extern const char *bb_opt_complementally; |
127 | extern const struct option *bb_applet_long_options; | 129 | extern const struct option *bb_applet_long_options; |