xref: /original-bsd/bin/sh/mystring.h (revision b3c06cab)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Kenneth Almquist.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)mystring.h	8.2 (Berkeley) 05/04/95
11  */
12 
13 #include <string.h>
14 
15 void scopyn __P((const char *, char *, int));
16 int prefix __P((const char *, const char *));
17 int number __P((const char *));
18 int is_number __P((const char *));
19 
20 #define equal(s1, s2)	(strcmp(s1, s2) == 0)
21 #define scopy(s1, s2)	((void)strcpy(s2, s1))
22