CStandardLibrary[Lastmodified:2006-11-30]Contentsassert.h:Diagnosticsctype.h:CharacterClassTestserrno.h:ErrorCodesReportedby(Some)LibraryFunctionsfloat.h:Implementation-definedFloating-PointLimitslimits.h:Implementation-definedLimitslocale.h:Locale-specificInformationmath.h:MathematicalFunctionssetjmp.h:Non-localJumpssignal.h:Signalsstdarg.h:VariableArgumentListsstddef.h:DefinitionsofGeneralUsestdio.h:InputandOutputstdlib.h:Utilityfunctionsstring.h:Stringfunctionstime.h:TimeandDatefunctionsassert.hvoidassert(intexpression);Macrousedforinternalerrordetection.(IgnoredifNDEBUGisdefinedwhereassert.hisincluded.)Ifexpressionequalszero,messageprintedonstderrandabortcalledtoterminateexecution.Sourcefilenameandlinenumberinmessagearefrompreprocessormacros__FILE__and__LINE__.[Contents]ctype.hintisalnum(intc);isalpha(c)orisdigit(c)intisalpha(intc);isupper(c)orislower(c)intiscntrl(intc);iscontrolcharacter.InASCII,controlcharactersare0x00(NUL)to0x1F(US),and0x7F(DEL)intisdigit(intc);isdecimaldigitintisgraph(intc);isprintingcharacterotherthanspaceintislower(intc);islower-caseletterintisprint(intc);isprintingcharacter(includingspace).InASCII,printingcharactersare0x20('')to0x7E('~')intispunct(intc);isprintingcharacterotherthanspace,letter,digitintisspace(intc);isspace,formfeed,newline,carriagereturn,tab,verticaltabintisupper(intc);isupper-caseletterintisxdigit(intc);ishexadecimaldigitinttolower(intc);returnlower-caseequivalentinttoupper(intc);returnupper-caseequivalent[Contents]errno.herrnoobjecttowhichcertainlibraryfunctionsassignspecificpositivevaluesonerrorEDOMcodeusedfordomainerrorsERANGEcodeusedforrangeerrorsNotes:otherimplementation-definederrorvaluesarepermittedtodeterminethevalue(ifany)assignedtoerrnobyalibraryfunction,aprogramshouldassignzerotoerrnoimmediatelypriortothefunctioncall[Contents]float.hFLT_RADIXradixoffloating-pointrepresentationsFLT_ROUNDSfloating-pointroundingmodeWheretheprefixFLTpertainstotypefloat,DBLtotypedouble,andLDBLtotypelongdouble:FLT_DIGDBL_DIGLDBL_DIGprecision(indecimaldigits)FLT_EPSILONDBL_EPSILONLDBL_EPSILONsmallestnumberxsuchthat1.0+x!=1.0FLT_MANT_DIGDBL_MANT_DIGLDBL_MANT_DIGnumberofdigits,baseFLT_RADIX,inmantissaFLT_MAXDBL_MAXLDBL_MAXmaximumnumberFLT_MAX_EXPDBL_MAX_EXPLDBL_MAX_EXPlargestpositiveintegerexponenttowhichFLT_RADIXcanberaisedandremainrepresentableFLT_MINDBL_MINLDBL_MINminimumnormalisednumberFLT_MIN_EXPDBL_MIN_EXPLDBL_MIN_EXPsmallestnegativeintegerexponenttowhichFLT_RADIXcanberaisedandremainrepresentable[Contents]limits.hCHAR_BITnumberofbitsinacharCHAR_MAXmaximumvalueoftypecharCHAR_MINminimumvalueoftypecharSCHAR_MAXmaximumvalueoftypesignedcharSCHAR_MINminimumvalueoftypesignedcharUCHAR_MAXmaximumvalueoftypeunsignedcharSHRT_MAXmaximumvalueoftypeshortSHRT_MINminimumvalueoftypeshortUSHRT_MAXmaximumvalueoftypeunsignedshortINT_MAXmaximumvalueoftypeintINT_MINminimumvalueoftypeintUINT_MAXmaximumvalueoftypeunsignedintLONG_MAXmaximumvalueoftypelongLONG_MINminimumvalueoftypelongULONG_MAXmaximumvalueoftypeunsignedlong[Contents]locale.hstructlconvDescribesformattingofmonetaryandothernumericvalues:char*decimal_point;decimalpointfornon-monetaryvalueschar*grouping;sizesofdigitgroupsfornon-monetaryvalueschar*thousands_sep;separatorfordigitgroupsfornon-monetaryvalues(leftofdecimalpoint)char*currency_symbol;currencysymbolchar*int_curr_symbol;internationalcurrencysymbolchar*mon_decimal_point;decimalpointformonetaryvalueschar*mon_grouping;sizesofdigitgroupsformonetaryvalueschar*mon_thousands_sep;separatorfordigitgroupsformonetaryvalues(leftofdecimalpoint)char*negative_sign;negativesignformonetaryvalueschar*positive_sign;positivesignformonetaryvaluescharfrac_digits;numberofdigitstobedisplayedtorightofdecimalpointformonetaryvaluescharint_frac_digits;numberofdigitstobedisplayedtorightofdecimalpointforinternationalmonetaryvaluescharn_cs_precedes;whethercurrencysymbolprecedes(1)orfollows(0)negativemonetaryvaluescharn_sep_by_space;whethercurrencysymbolis(1)orisnot(0)separatedbyspacefromnegativemonetaryvaluescharn_sign_posn;formatfornegativemonetaryvalues:0parenthesessurroundquantityandcurrencysymbol1signprecedesquantityandcurrencysymbol2signfollowsquantityandcurrencysymbol3signimmediatelyprecedescurrencysymbol4signimmediatelyfollowscurrencysymbolcharp_cs_precedes;whethercurrencysymbolprecedes(1)orfollows(0)positivemonetaryvaluescharp_sep_by_space;whethercurrencysymbolis(1)orisnot(0)separatedbyspacefromnon-negativemonetaryvaluescharp_sign_posn;formatfornon-negativemonetaryvalues,withvaluesasforn_sign_posnImplementationsmaychangefieldorderandincludeadditionalfields.StandardCLibraryfunctionsuseonlydecimal_point.structlconv*localeconv(void);returnspointertoformattinginformationforcurrentlocalechar*setlocale(intcategory,constchar*locale);Setscomponentsoflocaleaccordingtospecifiedcategoryandlocale.Returnsstringdescribingnewlocaleornullonerror.(Implementationsarepermittedtodefinevaluesofcategoryadditionaltothosedescribehere.)LC_ALLcategoryargumentforal