summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc.h b/misc.h
new file mode 100644
index 000000000..8205a6070
--- /dev/null
+++ b/misc.h
@@ -0,0 +1,19 @@
1/*
2 * Author: Tatu Ylonen <ylo@cs.hut.fi>
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved
5 *
6 * As far as I am concerned, the code I have written for this software
7 * can be used freely for any purpose. Any derived versions of this
8 * software must be clearly marked as such, and if the derived work is
9 * incompatible with the protocol description in the RFC file, it must be
10 * called by a name other than "ssh" or "Secure Shell".
11 */
12/* remove newline at end of string */
13char *chop(char *s);
14
15/* return next token in configuration line */
16char *strdelim(char **s);
17
18/* set filedescriptor to non-blocking */
19void set_nonblock(int fd);