summaryrefslogtreecommitdiff
path: root/ulib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ulib.c')
-rw-r--r--ulib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ulib.c b/ulib.c
index 97afc8c..d7e8934 100644
--- a/ulib.c
+++ b/ulib.c
@@ -16,3 +16,13 @@ puts1(char *s)
return i;
}
+char*
+strcpy(char *s, char *t)
+{
+ char *os;
+
+ os = s;
+ while((*s++ = *t++) != 0)
+ ;
+ return os;
+}