diff options
| author | Sam Hartman <hartmans@mit.edu> | 1995-08-02 17:20:59 +0000 |
|---|---|---|
| committer | Sam Hartman <hartmans@mit.edu> | 1995-08-02 17:20:59 +0000 |
| commit | fdca30279f2ac4e63d8f49ff7af6a37ebcdbba42 (patch) | |
| tree | 97c1ee5df08605c37b2476c59e283604f560614b /src/util/pty/init.c | |
| parent | dcf05d27e2a54eeb2049ff136baabeca32534bbe (diff) | |
| download | krb5-fdca30279f2ac4e63d8f49ff7af6a37ebcdbba42.tar.gz krb5-fdca30279f2ac4e63d8f49ff7af6a37ebcdbba42.tar.xz krb5-fdca30279f2ac4e63d8f49ff7af6a37ebcdbba42.zip | |
* Fix tests for length of slave buffer.
* Add pty_init to initialize error tables.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6379 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/pty/init.c')
| -rw-r--r-- | src/util/pty/init.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/util/pty/init.c b/src/util/pty/init.c new file mode 100644 index 000000000..40cf2396b --- /dev/null +++ b/src/util/pty/init.c @@ -0,0 +1,29 @@ +/* + * pty_init: Initialize internal state of pty. + * Currently initializes error tables. + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * + *Permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. + * + */ + +#include "mit-copyright.h" +#include <com_err.h> +#include "libpty.h" +#include "pty-int.h" + +long pty_init() +{ + initialize_pty_error_table(); + return 0; +} |
