aboutsummaryrefslogtreecommitdiff
path: root/riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/str_mycat.c
diff options
context:
space:
mode:
Diffstat (limited to 'riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/str_mycat.c')
-rw-r--r--riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/str_mycat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/str_mycat.c b/riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/str_mycat.c
new file mode 100644
index 0000000..b2397e5
--- /dev/null
+++ b/riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/str_mycat.c
@@ -0,0 +1,9 @@
+#include "str_defs.h"
+
+unsigned long mycat(char *d, char *s1, char *s2) /*EXTRACT_INCL*/ {
+ char *p=d;
+ p += str_add(p, s1, 32);
+ p += str_add(p, s2, 240);
+ *p=0;
+ return p-d;
+}