aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2005-01-09 03:55:13 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2005-01-09 03:55:13 +0000
commit17ebe40096aa2c39d2396d737f9c69bccb134822 (patch)
treeb766d188dac1fbfe33acaf4bc81baa051637b670 /include
parent5ba514bc89d8e097e29428678b50824873b2664f (diff)
downloadsrc-17ebe40096aa2c39d2396d737f9c69bccb134822.tar.gz
src-17ebe40096aa2c39d2396d737f9c69bccb134822.zip
Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64,
GNU) for determining whether a string is an affirmative or negative response to a question according to the current locale. This is done by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR.
Notes
Notes: svn path=/head/; revision=139922
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index f94e7ab82c58..0ae6b181351e 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -263,6 +263,7 @@ void qsort_r(void *, size_t, size_t, void *,
int radixsort(const unsigned char **, int, const unsigned char *,
unsigned);
void *reallocf(void *, size_t);
+int rpmatch(const char *);
void setprogname(const char *);
int sradixsort(const unsigned char **, int, const unsigned char *,
unsigned);