diff options
| author | scw <scw@NetBSD.org> | 2002-12-12 09:45:32 +0000 |
|---|---|---|
| committer | scw <scw@NetBSD.org> | 2002-12-12 09:45:32 +0000 |
| commit | 0c83fd494454b7cf05bba1bebc1b8e6575e4cdff (patch) | |
| tree | 1f5ba278d1882892a14d17b27817f6550423bfaf /include | |
| parent | f4fe3fda213298a68f7d2813c5f3352144767f62 (diff) | |
Add getlabelsector() and getlabeloffset() as wrappers around the
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
Diffstat (limited to 'include')
| -rw-r--r-- | include/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/util.h b/include/util.h index 8716911e5f8..31c2999425a 100644 --- a/include/util.h +++ b/include/util.h @@ -1,4 +1,4 @@ -/* $NetBSD: util.h,v 1.28 2002/11/30 03:04:45 lukem Exp $ */ +/* $NetBSD: util.h,v 1.29 2002/12/12 09:45:32 scw Exp $ */ /*- * Copyright (c) 1995 @@ -66,6 +66,8 @@ struct winsize; pid_t forkpty(int *, char *, struct termios *, struct winsize *); const char *getbootfile(void); +off_t getlabeloffset(void); +daddr_t getlabelsector(void); int getmaxpartitions(void); int getrawpartition(void); int humanize_number(char *, size_t, int64_t, const char *, int, |
