From owner-cvs-all@FreeBSD.ORG Sun Jan 9 03:55:13 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C6F716A4CF; Sun, 9 Jan 2005 03:55:13 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8909643D31; Sun, 9 Jan 2005 03:55:13 +0000 (GMT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j093tDpf031440; Sun, 9 Jan 2005 03:55:13 GMT (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j093tDLv031439; Sun, 9 Jan 2005 03:55:13 GMT (envelope-from tjr) Message-Id: <200501090355.j093tDLv031439@repoman.freebsd.org> From: "Tim J. Robbins" Date: Sun, 9 Jan 2005 03:55:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/include stdlib.h src/lib/libc/locale Makefile.inc rpmatch.3 rpmatch.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2005 03:55:13 -0000 tjr 2005-01-09 03:55:13 UTC FreeBSD src repository Modified files: include stdlib.h lib/libc/locale Makefile.inc Added files: lib/libc/locale rpmatch.3 rpmatch.c Log: 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. Revision Changes Path 1.57 +1 -0 src/include/stdlib.h 1.60 +3 -2 src/lib/libc/locale/Makefile.inc 1.1 +63 -0 src/lib/libc/locale/rpmatch.3 (new) 1.1 +55 -0 src/lib/libc/locale/rpmatch.c (new)