summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-12-29 18:30:42 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-12-29 18:30:42 +0000
commit77f867733f1e90fa723677dada8e2b5914bbb57c (patch)
treec5dad90a47e303233d4946088ce39930cccf4561 /libutil
parentb6ef6b3d7bfa80e84cf66470ff539c7f49c691d3 (diff)
downloadpw-darwin-77f867733f1e90fa723677dada8e2b5914bbb57c.tar.gz
pw-darwin-77f867733f1e90fa723677dada8e2b5914bbb57c.tar.zst
pw-darwin-77f867733f1e90fa723677dada8e2b5914bbb57c.zip
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 'libutil')
-rw-r--r--libutil/libutil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index 3f32d7a..05acf60 100644
--- a/libutil/libutil.h
+++ b/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_ */