ISPHONOGRAM(3)
ISPHONOGRAM(3) π
okay so this is isphonogram(3), coming at you from the Library Functions Manual β yes bestie, the actual manual, not a vibe. π«Ά
NAME π
isphonogram, isphonogram_l β phonographic character test
LIBRARY π
Standard C Library (libc, -lc) β iconic, classic, linked with -lc.
SYNOPSIS β¨
#include <ctype.h>
int
isphonogram(int c);
int
isphonogram_l(int c, locale_t loc);
DESCRIPTION π¦
The isphonogram() and isphonogram_l() functions test for a phonographic character. That's the assignment. π
The way that isphonogram_l() works is it takes an explicit locale argument, whereas isphonogram() uses the current global or per-thread locale. So one is all βhereβs my locale, bestie,β and the other is βwhatever locale weβre currently in.β Lowkey elegant. π
RETURN VALUES πΈ
- The
isphonogram()andisphonogram_l()functions returnzeroif the character tests false. - They return non-zero if the character tests true.
So: 0 = nope, non-zero = yes maβam. No in-between, no cap. β¨
SEE ALSO π
HISTORY β
The isphonogram() function appeared in 4.4BSD. Historic. Iconic. A whole moment. π
mwah β Debian, December 19, 2022, signing off π«Άπ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2004 Tim J. Robbins
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms