summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_USING_C/a.5.c
diff options
context:
space:
mode:
Diffstat (limited to 'reference/C/CONTRIB/OR_USING_C/a.5.c')
-rw-r--r--reference/C/CONTRIB/OR_USING_C/a.5.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/reference/C/CONTRIB/OR_USING_C/a.5.c b/reference/C/CONTRIB/OR_USING_C/a.5.c
new file mode 100644
index 0000000..ff298c7
--- /dev/null
+++ b/reference/C/CONTRIB/OR_USING_C/a.5.c
@@ -0,0 +1,29 @@
+main()
+{
+ extern char *y_();
+ char s[15];
+
+ y_(s, 15L);
+}
+
+x_(s, len)
+char *s;
+long len;
+{
+ s[0] = 'a';
+ s[1] = 'b';
+ s[2] = 'c';
+ s[3] = 'd';
+ s[4] = 'e';
+ s[5] = 'f';
+ s[6] = 'g';
+ s[7] = 'h';
+ s[8] = 'i';
+ s[9] = 'j';
+ s[10] = 'k';
+ s[11] = 'l';
+ s[12] = 'm';
+ s[13] = 'n';
+ s[14] = 'o';
+}
+