10d5acd74SJohn Marino.\" 20d5acd74SJohn Marino.\" Copyright (c) 2004 Tim J. Robbins 30d5acd74SJohn Marino.\" All rights reserved. 40d5acd74SJohn Marino.\" 50d5acd74SJohn Marino.\" Redistribution and use in source and binary forms, with or without 60d5acd74SJohn Marino.\" modification, are permitted provided that the following conditions 70d5acd74SJohn Marino.\" are met: 80d5acd74SJohn Marino.\" 1. Redistributions of source code must retain the above copyright 90d5acd74SJohn Marino.\" notice, this list of conditions and the following disclaimer. 100d5acd74SJohn Marino.\" 2. Redistributions in binary form must reproduce the above copyright 110d5acd74SJohn Marino.\" notice, this list of conditions and the following disclaimer in the 120d5acd74SJohn Marino.\" documentation and/or other materials provided with the distribution. 130d5acd74SJohn Marino.\" 140d5acd74SJohn Marino.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 150d5acd74SJohn Marino.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 160d5acd74SJohn Marino.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 170d5acd74SJohn Marino.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 180d5acd74SJohn Marino.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 190d5acd74SJohn Marino.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 200d5acd74SJohn Marino.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 210d5acd74SJohn Marino.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 220d5acd74SJohn Marino.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 230d5acd74SJohn Marino.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 240d5acd74SJohn Marino.\" SUCH DAMAGE. 250d5acd74SJohn Marino.\" 260d5acd74SJohn Marino.\" $FreeBSD: head/lib/libc/locale/isphonogram.3 196820 2009-09-04 07:44:58Z des $ 270d5acd74SJohn Marino.\" 28*4e81684dSSascha Wildner.Dd December 25, 2013 290d5acd74SJohn Marino.Dt ISPHONOGRAM 3 300d5acd74SJohn Marino.Os 310d5acd74SJohn Marino.Sh NAME 32382f042fSSascha Wildner.Nm isphonogram , 33382f042fSSascha Wildner.Nm isphonogram_l 340d5acd74SJohn Marino.Nd phonographic character test 350d5acd74SJohn Marino.Sh LIBRARY 360d5acd74SJohn Marino.Lb libc 370d5acd74SJohn Marino.Sh SYNOPSIS 380d5acd74SJohn Marino.In ctype.h 390d5acd74SJohn Marino.Ft int 400d5acd74SJohn Marino.Fn isphonogram "int c" 41382f042fSSascha Wildner.In xlocale.h 42382f042fSSascha Wildner.Ft int 43*4e81684dSSascha Wildner.Fn isphonogram_l "int c" "locale_t locale" 440d5acd74SJohn Marino.Sh DESCRIPTION 450d5acd74SJohn MarinoThe 460d5acd74SJohn Marino.Fn isphonogram 47*4e81684dSSascha Wildnerand 48*4e81684dSSascha Wildner.Fn isphonogram_l 49*4e81684dSSascha Wildnerfunctions test for a phonographic character. 50382f042fSSascha Wildner.Pp 51*4e81684dSSascha WildnerThe _l-suffixed version takes an explicit 52*4e81684dSSascha Wildner.Fa locale 53*4e81684dSSascha Wildnerargument, whereas the 54382f042fSSascha Wildnernon-suffixed version uses the current global or per-thread locale. 550d5acd74SJohn Marino.Sh RETURN VALUES 560d5acd74SJohn MarinoThe 570d5acd74SJohn Marino.Fn isphonogram 58*4e81684dSSascha Wildnerand 59*4e81684dSSascha Wildner.Fn isphonogram_l 60*4e81684dSSascha Wildnerfunctions return zero if the character tests false and 610d5acd74SJohn Marinoreturns non-zero if the character tests true. 620d5acd74SJohn Marino.Sh SEE ALSO 630d5acd74SJohn Marino.Xr ctype 3 , 64382f042fSSascha Wildner.Xr ctype_l 3 , 650d5acd74SJohn Marino.Xr isideogram 3 , 66382f042fSSascha Wildner.Xr iswphonogram 3 , 67d30569ebSSascha Wildner.Xr xlocale 3 680d5acd74SJohn Marino.Sh HISTORY 690d5acd74SJohn MarinoThe 700d5acd74SJohn Marino.Fn isphonogram 710d5acd74SJohn Marinofunction appeared in 720d5acd74SJohn Marino.Bx 4.4 . 73