|
|
1.1 root 1: /*
2: * strxfrm.c
3: * ANSI 4.11.4.5
4: * Transform string into locale-specific collating sequence.
5: * This version just returns the original string.
6: */
7:
8: #include <string.h>
9:
10: size_t strxfrm(s1, s2, n) char *s1, *s2; size_t n;
11: {
12: strncpy(s1, s2, n);
13: return (strlen(s2));
14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.