Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include add getdisk{raw,cooked}name



details:   https://anonhg.NetBSD.org/src/rev/e5021da48d65
branches:  trunk
changeset: 778662:e5021da48d65
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 07 16:44:59 2012 +0000

description:
add getdisk{raw,cooked}name

diffstat:

 include/util.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 48c1622a9fd4 -r e5021da48d65 include/util.h
--- a/include/util.h    Sat Apr 07 16:44:39 2012 +0000
+++ b/include/util.h    Sat Apr 07 16:44:59 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.h,v 1.62 2012/04/07 04:04:21 christos Exp $       */
+/*     $NetBSD: util.h,v 1.63 2012/04/07 16:44:59 christos Exp $       */
 
 /*-
  * Copyright (c) 1995
@@ -73,6 +73,8 @@
 int            getlabelusesmbr(void);
 int            getmaxpartitions(void);
 int            getrawpartition(void);
+const char     *getdiskrawname(char *, size_t, const char *);
+const char     *getdiskcookedname(char *, size_t, const char *);
 const char     *getfstypename(int);
 const char     *getfsspecname(char *, size_t, const char *);
 #ifndef __LIBC12_SOURCE__



Home | Main Index | Thread Index | Old Index