:man| Alphabetical   Categories   About us 
 
RPMATCH (3) | C library functions | Unix Manual Pages | :man

NAME

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

CONTENTS

Library
Synopsis
Description
Return Values
See Also
History

LIBRARY


.Lb libc

SYNOPSIS


.In 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

 
Created by Blin Media, 2008-2013