Sat Apr 7 04:04:21 2012 UTC ()
add getfsspecname


(christos)
diff -r1.61 -r1.62 src/include/util.h

cvs diff -r1.61 -r1.62 src/include/util.h (expand / switch to unified diff)

--- src/include/util.h 2012/01/07 18:41:14 1.61
+++ src/include/util.h 2012/04/07 04:04:21 1.62
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: util.h,v 1.61 2012/01/07 18:41:14 christos Exp $ */ 1/* $NetBSD: util.h,v 1.62 2012/04/07 04:04:21 christos Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1995 4 * Copyright (c) 1995
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -64,26 +64,27 @@ struct termios; @@ -64,26 +64,27 @@ struct termios;
64struct utmp; 64struct utmp;
65struct winsize; 65struct winsize;
66struct sockaddr; 66struct sockaddr;
67 67
68char *flags_to_string(unsigned long, const char *); 68char *flags_to_string(unsigned long, const char *);
69pid_t forkpty(int *, char *, struct termios *, struct winsize *); 69pid_t forkpty(int *, char *, struct termios *, struct winsize *);
70const char *getbootfile(void); 70const char *getbootfile(void);
71off_t getlabeloffset(void); 71off_t getlabeloffset(void);
72int getlabelsector(void); 72int getlabelsector(void);
73int getlabelusesmbr(void); 73int getlabelusesmbr(void);
74int getmaxpartitions(void); 74int getmaxpartitions(void);
75int getrawpartition(void); 75int getrawpartition(void);
76const char *getfstypename(int); 76const char *getfstypename(int);
 77const char *getfsspecname(char *, size_t, const char *);
77#ifndef __LIBC12_SOURCE__ 78#ifndef __LIBC12_SOURCE__
78void login(const struct utmp *) __RENAME(__login50); 79void login(const struct utmp *) __RENAME(__login50);
79void loginx(const struct utmpx *) __RENAME(__loginx50); 80void loginx(const struct utmpx *) __RENAME(__loginx50);
80#endif 81#endif
81int login_tty(int); 82int login_tty(int);
82int logout(const char *); 83int logout(const char *);
83int logoutx(const char *, int, int); 84int logoutx(const char *, int, int);
84void logwtmp(const char *, const char *, const char *); 85void logwtmp(const char *, const char *, const char *);
85void logwtmpx(const char *, const char *, const char *, int, int); 86void logwtmpx(const char *, const char *, const char *, int, int);
86int opendisk(const char *, int, char *, size_t, int); 87int opendisk(const char *, int, char *, size_t, int);
87int opendisk1(const char *, int, char *, size_t, int, 88int opendisk1(const char *, int, char *, size_t, int,
88 int (*)(const char *, int, ...)); 89 int (*)(const char *, int, ...));
89int openpty(int *, int *, char *, struct termios *, 90int openpty(int *, int *, char *, struct termios *,