mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
Define grub_util_is_directory/regular/special_file and
use OS-dependent versions rather than to rely on stat().
This commit is contained in:
1 parent
ec16e02639
commit
df1e64c98e
6 files changed
+113
-31
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user