libutil.h (169446) | libutil.h (169450) |
---|---|
1/* 2 * Copyright (c) 1996 Peter Wemm <peter@FreeBSD.org>. 3 * All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technology, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * | 1/* 2 * Copyright (c) 1996 Peter Wemm <peter@FreeBSD.org>. 3 * All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technology, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 19 unchanged lines hidden (view full) --- 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * |
36 * $FreeBSD: head/lib/libutil/libutil.h 169446 2007-05-10 14:43:31Z des $ | 36 * $FreeBSD: head/lib/libutil/libutil.h 169450 2007-05-10 15:01:42Z des $ |
37 */ 38 39#ifndef _LIBUTIL_H_ 40#define _LIBUTIL_H_ 41 42#define PROPERTY_MAX_NAME 64 43#define PROPERTY_MAX_VALUE 512 44 --- 20 unchanged lines hidden (view full) --- 65struct utmp; 66struct in_addr; 67 68__BEGIN_DECLS 69void clean_environment(const char * const *_white, 70 const char * const *_more_white); 71int extattr_namespace_to_string(int _attrnamespace, char **_string); 72int extattr_string_to_namespace(const char *_string, int *_attrnamespace); | 37 */ 38 39#ifndef _LIBUTIL_H_ 40#define _LIBUTIL_H_ 41 42#define PROPERTY_MAX_NAME 64 43#define PROPERTY_MAX_VALUE 512 44 --- 20 unchanged lines hidden (view full) --- 65struct utmp; 66struct in_addr; 67 68__BEGIN_DECLS 69void clean_environment(const char * const *_white, 70 const char * const *_more_white); 71int extattr_namespace_to_string(int _attrnamespace, char **_string); 72int extattr_string_to_namespace(const char *_string, int *_attrnamespace); |
73int flopen(const char *_path, int _flags, mode_t _mode); | 73int flopen(const char *_path, int _flags, ...); |
74void login(struct utmp *_ut); 75int login_tty(int _fd); 76int logout(const char *_line); 77void logwtmp(const char *_line, const char *_name, const char *_host); 78void trimdomain(char *_fullhost, int _hostsize); 79int openpty(int *_amaster, int *_aslave, char *_name, 80 struct termios *_termp, struct winsize *_winp); 81int forkpty(int *_amaster, char *_name, --- 85 unchanged lines hidden --- | 74void login(struct utmp *_ut); 75int login_tty(int _fd); 76int logout(const char *_line); 77void logwtmp(const char *_line, const char *_name, const char *_host); 78void trimdomain(char *_fullhost, int _hostsize); 79int openpty(int *_amaster, int *_aslave, char *_name, 80 struct termios *_termp, struct winsize *_winp); 81int forkpty(int *_amaster, char *_name, --- 85 unchanged lines hidden --- |