diff options
| author | David Nugent <davidn@FreeBSD.org> | 1997-05-10 19:33:07 +0000 |
|---|---|---|
| committer | David Nugent <davidn@FreeBSD.org> | 1997-05-10 19:33:07 +0000 |
| commit | ccd4f86e061e3ecde5461adf9178a1be85124072 (patch) | |
| tree | 865753fab33c040b0f8c245309729fea5aaf70e8 /lib/libutil/libutil.h | |
| parent | d092a4ec4550260927ddc1759fa9e87117530e6f (diff) | |
Notes
Diffstat (limited to 'lib/libutil/libutil.h')
| -rw-r--r-- | lib/libutil/libutil.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 3f32d7ac0c06..f6d6e283babe 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file providing the above * conditions are met. * - * $Id$ + * $Id: libutil.h,v 1.1 1996/01/01 08:27:37 peter Exp $ */ #ifndef _LIBUTIL_H_ @@ -39,6 +39,19 @@ int logout __P((char *line)); void logwtmp __P((char *line, char *name, char *host)); int openpty __P((int *amaster, int *aslave, char *name, struct termios *termp, struct winsize *winp)); +int forkpty __P((int *amaster, char *name, + struct termios *termp, struct winsize *winp)); +char *uu_lockerr __P((int uu_lockresult)); +int uu_lock __P((char *ttyname)); +int uu_unlock __P((char *ttyname)); +int _secure_path __P((const char *path, uid_t uid, gid_t gid)); __END_DECLS +#define UU_LOCK_INUSE (1) +#define UU_LOCK_OK (0) +#define UU_LOCK_OPEN_ERR (-1) +#define UU_LOCK_READ_ERR (-2) +#define UU_LOCK_SEEK_ERR (-3) +#define UU_LOCK_WRITE_ERR (-4) + #endif /* !_LIBUTIL_H_ */ |
