freebsd man page for rpmatch

Query: rpmatch

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RPMATCH(3)						   BSD Library Functions Manual 						RPMATCH(3)

NAME
rpmatch -- determine whether the response to a question is affirmative or negative
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h> int rpmatch(const char *response);
DESCRIPTION
The rpmatch() function determines whether the response argument is an affirmative or negative response to a question according to the current locale.
RETURN VALUES
The rpmatch() functions returns: 1 The response is affirmative. 0 The response is negative. -1 The response is not recognized.
SEE ALSO
nl_langinfo(3), setlocale(3)
HISTORY
The rpmatch() function appeared in FreeBSD 6.0.
BSD
July 21, 2005 BSD
Related Man Pages
rpmatch(3) - debian
rpmatch(3) - suse
rpmatch(3) - osf1
mms_get_attribute(3mms) - opensolaris
rpmatch(3) - bsd
Similar Topics in the Unix Linux Community
Unix File Permissions
Mac OS X: Based on UNIX - Solid As a Rock
Scripts without shebang
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?