9763b5530d
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cc65@4236 504e572c-2e33-0410-9681-be2bf7408885
66 lines
2.4 KiB
HTML
66 lines
2.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
|
|
<TITLE>cc65 function reference: Alphabetical function reference: ispunct</TITLE>
|
|
<LINK HREF="funcref-124.html" REL=next>
|
|
<LINK HREF="funcref-122.html" REL=previous>
|
|
<LINK HREF="funcref.html#toc3" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="funcref-124.html">Next</A>
|
|
<A HREF="funcref-122.html">Previous</A>
|
|
<A HREF="funcref.html#toc3">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="ispunct"></A> 3.78 <A HREF="funcref.html#toc3.78">ispunct</A></H2>
|
|
|
|
|
|
<P>
|
|
<BLOCKQUOTE>
|
|
<DL>
|
|
<DT><B>Function</B><DD><P>Check if a given character is a printable character but not a
|
|
space or an alphanumeric character.</P>
|
|
<DT><B>Header</B><DD><P><CODE>
|
|
<A HREF="funcref-15.html#ctype.h">ctype.h</A></CODE></P>
|
|
<DT><B>Declaration</B><DD><P><CODE>int __fastcall__ ispunct (int c);</CODE></P>
|
|
<DT><B>Description</B><DD><P>The function returns a value of zero if the given argument
|
|
is a printable character, but not a space or anything alphanumeric. The return
|
|
value is non zero if the character is anything else.</P>
|
|
<DT><B>Limits</B><DD><P>
|
|
<UL>
|
|
<LI>When compiling with <CODE>-Os</CODE> the function is actually a macro. The
|
|
inline sequence generated by the macro will not work correctly for values
|
|
outside the range 0..255. <B>Note:</B> The constant <CODE>EOF</CODE> is not part of
|
|
this range. The non inline function may be accessed by <CODE>#undef</CODE>'ing the
|
|
macro.</LI>
|
|
<LI>When compiling without <CODE>-Os</CODE>, the function is only available as
|
|
fastcall function, so it may only be used in presence of a prototype.</LI>
|
|
</UL>
|
|
</P>
|
|
<DT><B>Availability</B><DD><P>ISO 9899</P>
|
|
<DT><B>See also</B><DD><P>
|
|
<A HREF="funcref-114.html#isalnum">isalnum</A>,
|
|
<A HREF="funcref-115.html#isalpha">isalpha</A>,
|
|
<A HREF="funcref-116.html#isascii">isascii</A>,
|
|
<A HREF="funcref-117.html#isblank">isblank</A>,
|
|
<A HREF="funcref-118.html#iscntrl">iscntrl</A>,
|
|
<A HREF="funcref-119.html#isdigit">isdigit</A>,
|
|
<A HREF="funcref-120.html#isgraph">isgraph</A>,
|
|
<A HREF="funcref-121.html#islower">islower</A>,
|
|
<A HREF="funcref-122.html#isprint">isprint</A>,
|
|
<A HREF="funcref-124.html#isspace">isspace</A>,
|
|
<A HREF="funcref-125.html#isupper">isupper</A>,
|
|
<A HREF="funcref-126.html#isxdigit">isxdigit</A></P>
|
|
<DT><B>Example</B><DD><P>None.</P>
|
|
</DL>
|
|
</BLOCKQUOTE>
|
|
</P>
|
|
|
|
|
|
<HR>
|
|
<A HREF="funcref-124.html">Next</A>
|
|
<A HREF="funcref-122.html">Previous</A>
|
|
<A HREF="funcref.html#toc3">Contents</A>
|
|
</BODY>
|
|
</HTML>
|