Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
RPMATCH(3)             FreeBSD 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.

FreeBSD 11.0-PRERELEASE          July 21, 2005         FreeBSD 11.0-PRERELEASE

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=rpmatch&sektion=3&manpath=FreeBSD+6.0-RELEASE>

home | help