libutil.h (d3e0a2504d79fd1b39a49b66a3cce6b21cb350a5) | libutil.h (84dc22996da39f0d729487f9223011ec189d020f) |
---|---|
1/* 2 * Copyright (c) 1995 Peter Wemm <peter@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, is permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 4 unchanged lines hidden (view full) --- 13 * documentation and/or other materials provided with the distribution. 14 * 3. This work was done expressly for inclusion into FreeBSD. Other use 15 * is permitted provided this notation is included. 16 * 4. Absolutely no warranty of function or purpose is made by the author 17 * Peter Wemm. 18 * 5. Modifications may be freely made to this file providing the above 19 * conditions are met. 20 * | 1/* 2 * Copyright (c) 1995 Peter Wemm <peter@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, is permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 4 unchanged lines hidden (view full) --- 13 * documentation and/or other materials provided with the distribution. 14 * 3. This work was done expressly for inclusion into FreeBSD. Other use 15 * is permitted provided this notation is included. 16 * 4. Absolutely no warranty of function or purpose is made by the author 17 * Peter Wemm. 18 * 5. Modifications may be freely made to this file providing the above 19 * conditions are met. 20 * |
21 * $Id: libutil.h,v 1.8 1997/05/12 10:36:13 brian Exp $ | 21 * $Id: libutil.h,v 1.9 1997/05/19 10:04:15 peter Exp $ |
22 */ 23 24#ifndef _LIBUTIL_H_ 25#define _LIBUTIL_H_ 26 27#include <sys/cdefs.h> 28 29/* Avoid pulling in all the include files for no need */ --- 16 unchanged lines hidden (view full) --- 46int uu_unlock __P((const char *_ttyname)); 47int _secure_path __P((const char *_path, uid_t _uid, gid_t _gid)); 48__END_DECLS 49 50#define UU_LOCK_INUSE (1) 51#define UU_LOCK_OK (0) 52#define UU_LOCK_OPEN_ERR (-1) 53#define UU_LOCK_READ_ERR (-2) | 22 */ 23 24#ifndef _LIBUTIL_H_ 25#define _LIBUTIL_H_ 26 27#include <sys/cdefs.h> 28 29/* Avoid pulling in all the include files for no need */ --- 16 unchanged lines hidden (view full) --- 46int uu_unlock __P((const char *_ttyname)); 47int _secure_path __P((const char *_path, uid_t _uid, gid_t _gid)); 48__END_DECLS 49 50#define UU_LOCK_INUSE (1) 51#define UU_LOCK_OK (0) 52#define UU_LOCK_OPEN_ERR (-1) 53#define UU_LOCK_READ_ERR (-2) |
54#define UU_LOCK_SEEK_ERR (-3) | 54#define UU_LOCK_CREAT_ERR (-3) |
55#define UU_LOCK_WRITE_ERR (-4) | 55#define UU_LOCK_WRITE_ERR (-4) |
56#define UU_LOCK_LINK_ERR (-5) 57#define UU_LOCK_TRY_ERR (-6) |
|
56 57#endif /* !_LIBUTIL_H_ */ | 58 59#endif /* !_LIBUTIL_H_ */ |