cvs commit: src/include stdlib.h src/lib/libc/locale Makefile.inc rpmatch.3 rpmatch.c

Tim J. Robbins tjr at FreeBSD.org
Sat Jan 8 19:55:13 PST 2005


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)


More information about the cvs-all mailing list