diff options
Diffstat (limited to 'man3/rpmatch.3')
-rw-r--r-- | man3/rpmatch.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/rpmatch.3 b/man3/rpmatch.3 index 5f5246bb3..b70bf2557 100644 --- a/man3/rpmatch.3 +++ b/man3/rpmatch.3 @@ -149,7 +149,7 @@ is applied to the string given in the program's command-line argument. #include <stdio.h> #include <stdlib.h> #include <string.h> - +\& int main(int argc, char *argv[]) { @@ -157,7 +157,7 @@ main(int argc, char *argv[]) fprintf(stderr, "%s response\en", argv[0]); exit(EXIT_FAILURE); } - +\& setlocale(LC_ALL, ""); printf("rpmatch() returns: %d\en", rpmatch(argv[1])); exit(EXIT_SUCCESS); |