GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RPMATCH(3) FreeBSD Library Functions Manual RPMATCH(3)

rpmatch
determine whether the response to a question is affirmative or negative

Standard C Library (libc, -lc)

#include <stdlib.h>

int
rpmatch(const char *response);

The rpmatch() function determines whether the response argument is an affirmative or negative response to a question according to the current locale.

The rpmatch() functions returns:
1
The response is affirmative.
0
The response is negative.
-1
The response is not recognized.

nl_langinfo(3), setlocale(3)

The rpmatch() function appeared in FreeBSD 6.0.
July 21, 2005 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.