new function grub_seek, fix a bug in the doc.

This commit is contained in:
okuji committed 1999-12-30 06:32:02 +00:00
1 parent 2745c43fd4
commit 161b9f4dde
6 files changed
+39 -20

No files matched your search

+6 -2
View File
@@ -659,7 +659,8 @@ typedef enum
KERNEL_TYPE_FREEBSD, /* FreeBSD. */
KERNEL_TYPE_NETBSD, /* NetBSD. */
KERNEL_TYPE_CHAINLOADER /* Chainloader. */
} kernel_t;
}
kernel_t;
extern kernel_t kernel_type;
extern int grub_timeout;
@@ -726,9 +727,12 @@ int set_partition_hidden_flag (int hidden);
int grub_open (char *filename);
/* Read LEN bytes into BUF from the file that was opened with
GRUB_OPEN. If LEN is -1, read all the remaining data in the file */
GRUB_OPEN. If LEN is -1, read all the remaining data in the file. */
int grub_read (char *buf, int len);
/* Reposition a file offset. */
int grub_seek (int offset);
/* Close a file. */
void grub_close (void);