diff options
author | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2015-06-09 00:15:59 +0200 |
---|---|---|
committer | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2015-06-09 00:15:59 +0200 |
commit | 0fc761bc845bd9795f05206e24621c0f5e76423e (patch) | |
tree | 2bad439a40d10f7970e167c138d36fbb50586ee8 /sys/src/cmd/unix/u9fs/strecpy.c | |
parent | 7a95bef00e41cbab2d97f6392b221e6192335343 (diff) |
unix is BUGGERED. remove it
Diffstat (limited to 'sys/src/cmd/unix/u9fs/strecpy.c')
-rw-r--r-- | sys/src/cmd/unix/u9fs/strecpy.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/src/cmd/unix/u9fs/strecpy.c b/sys/src/cmd/unix/u9fs/strecpy.c deleted file mode 100644 index 57cedf808..000000000 --- a/sys/src/cmd/unix/u9fs/strecpy.c +++ /dev/null @@ -1,14 +0,0 @@ -#include <plan9.h> - -char* -strecpy(char *to, char *e, char *from) -{ - if(to >= e) - return to; - to = memccpy(to, from, '\0', e - to); - if(to == nil){ - to = e - 1; - *to = '\0'; - } - return to; -} |