Define grub_util_is_directory/regular/special_file and

use OS-dependent versions rather than to rely on stat().
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2013-10-15 20:27:58 +02:00
1 parent ec16e02639
commit df1e64c98e
6 files changed
+113 -31

No files matched your search

+7
View File
@@ -24,6 +24,13 @@
#include <sys/types.h>
#include <grub/osdep/hostfile.h>
int
grub_util_is_directory (const char *path);
int
grub_util_is_special_file (const char *path);
int
grub_util_is_regular (const char *path);
int
grub_util_fd_seek (grub_util_fd_t fd, grub_uint64_t off);
ssize_t