changeset 6 | c3dc3eb3b541 |
child 9 | c3fecc82ade6 |
5:d752cbe8208e | 6:c3dc3eb3b541 |
---|---|
1 /* |
|
2 * $Id: not.c 94 2008-04-05 01:27:30Z mbroeker $ |
|
3 * $URL: http://localhost/svn/c/lsflib/trunk/src/not.c $ |
|
4 * |
|
5 */ |
|
6 |
|
7 #include <stdio.h> |
|
8 #include <string.h> |
|
9 |
|
10 char *not (char *s) |
|
11 { |
|
12 int i; |
|
13 |
|
14 for (i = 0; i < strlen (s); i++) |
|
15 s[i] = ~s[i]; |
|
16 |
|
17 return s; |
|
18 } |