diff options
author | joerg <joerg@FreeBSD.org> | 1996-12-29 18:30:42 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-12-29 18:30:42 +0000 |
commit | 2cf073cc9217668bfea67a661a3b2c6c7e302393 (patch) | |
tree | 0f99d3df0cfd4e1360e7e706a77ac3528a5dbfb3 /lib/libutil/libutil.h | |
parent | 8e863e8e743f1964faa8b04b7b3791b608e9983e (diff) | |
download | FreeBSD-src-2cf073cc9217668bfea67a661a3b2c6c7e302393.zip FreeBSD-src-2cf073cc9217668bfea67a661a3b2c6c7e302393.tar.gz |
Finally document the interfaces found in libutil. While being here,
also add the missing declaration of forkpty() to libutil.h.
Btw., the calling interface for login(3) is crude. Some better
abstraction is needed, perhaps similar to logwtmp(3).
2.2 candidate, but i'll wait for the spelling police first. :)
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r-- | lib/libutil/libutil.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 3f32d7a..05acf60 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,8 @@ 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)); __END_DECLS #endif /* !_LIBUTIL_H_ */ |