NuSystem Standard Functions
in Alphabetical Order

Nintendo® Confidential
          
 
  To search the list, choose Find from the Edit menu in your browser.
absReturns the absolute value of a specified argument
acosReturns the arc cosine of a specified double argument
acosfReturns the arc cosine of a specified floating point argument
asinReturns the arc sine of a specified double argument
asinfReturns the arc sine of a specified floating point argument
atanReturns the arc tangent of a specified double argument
atanfReturns the arc tangent of a specified floating point argument
atan2Returns the arc tangent of a specified double argument divided by another specified double argument
atan2fReturns the arc tangent of a specified floating point argument divided by another specified floating point argument
atofConverts a string character into a numeric value of the double type
atoiConverts a string character into a numeric value of the int type
atolConverts a string character string into a numeric value of long type
bsearchUses binary search to find an element that matches the specified argument in an array sorted in ascending order
callocReserves a memory block with a specified number of elements of a specified size in the area that was reserved by InitHeap
ceilReturns the minimum integer value greater than a specified double argument
ceilfReturns the minimum integer value greater than a specified floating point argument
cosReturns the cosine for a specified double argument
cosfReturns the cosine for a specified floating point argument
coshReturns the hyperbolic cosine of a specified floating point argument
coshfReturns the hyperbolic cosine of a specified floating point argument
divReturns a div_t type structure that consists of a quotient and remainder
expCalculates an exponent to a specified double power
expfCalculates an exponent to a specified floating point power
fabsfReturns the absolute value of a specified floating point value
floorReturns the maximum integer value that is less than a specified double argument
floorfReturns the maximum integer value that is less than a specified floating point argument
fmodReturns the floating point remainder that occurs when a specified double value is divided by another specified double value
fmodfReturns the floating point remainder that occurs when a specified floating point value is divided by another specified floating point value
freeFrees the memory block that was reserved by InitHeap
frexpSplits its double argument into a normalized fraction in the interval (1/2, 1), which is returned, and a power of 2, which is stored in the location specified by the second argument
frexpfSplits its floating point argument into a normalized fraction in the interval (1/2, 1), which is returned, and a power of 2, which is stored in the location specified by the second argument
hypotReturns the length of the hypotenuse for a right triangle by using two specified sides of the double type
hypotfReturns the length of the hypotenuse for a right triangle by using two specified sides of the floating point type
InitHeapReserves and initializes a memory allocation area
isalnumChecks to see if a specified character is an alphanumeric character (an uppercase or lowercase letter or a number from 0 through 9)
isasciiChecks to see if a specified character is an ASCII character from 0x00 through 0x7f
iscntrlChecks to see if a specified character is a control character
isdigitChecks to see if a specified character is a number from 0 through 9
islowerChecks to see if a specified character is a lowercase letter
isspaceChecks to see if a specified character is a white space character from 0x09 through 0x0d or 0x20
isupperChecks to see if a specified character is an uppercase letter
isxdigitChecks to see if a specified character is a hexadecimal character (a through f, A through F, or 0 through 9)
labsReturns the absolute value of a specified value
ldexpCalculates x*(2�exp) where x is of the double type
ldexpfCalculates x*(2�exp) where x is of the floating point type
ldivDivides one specified argument by another, and returns the ldiv_t structure that holds the quotient and the remainder
logReturns the natural logarithm of a double point argument
logfReturns the natural logarithm of a specified floating point argument
log10Returns the common logarithm of a specified double argument
log10fReturns the common logarithm of a specified floating point argument
longjmpRestores the environment that was saved (reserved) by the most recently called setjmp function
mallocReserves a memory block greater in size than the area that was reserved by InitHeap where the reserved memory is 16-bit aligned
malloc_memcheckChecks the memory allocation area to see if its condition is normal or abnormal, and acquires information on area that is used and not used
malloc_memdspMakes 60 digits into 1 line for the specified one-dimensional character string, and returns the information on the memory allocation area as a character information
memchrReturns a pointer to a character in memory by searching a specified area for a specified number of bytes
memcmpCompares the contents of a specified buffer with the contents of a second specified buffer for a specified number of bytes, and returns a value less than, equal to, or greater than zero depending on whether the contents of the first buffer block is lexicographically less than, equal to, or greater than the contents of the second buffer block.
memcpyCopies the contents of a specified source to a specified destination for a specified number of bytes
memmoveCopies the contents of a specified source to a specified destination by a specified number of bytes even if the areas of the source and the destination overlap
memsetWrites specified byte data to a specified area for a specified number of bytes
modfDivides a specified double value into its fractional part, which is returned, and its integral part, which is stored in the location specified by the second argument
modffDivides a specified floating point value into its fractional part, which is returned, and its integral part, which is stored in the location specified by the second argument
powReturns x to the y power where both x and y are specified double numbers
powfReturns x to the y power where both x and y are specified floating point numbers
qsortPerforms a quick-sort of arrays
randReturns a pseudo-random number from 0 to 0x7fff
reallocReduces the memory block size in a reserved area that was reserved by the InitHeap function to be a larger area
setjmpSaves (reserves) its calling environment for later use by the longjmp function
sinReturns the sine for a radian angle specified as a double value
sinfReturns the sine for a radian angle specified as a floating point value
sinhReturns the hyperbolic sine for a radian angle specified as a double value
sinhfReturns the hyperbolic sine for a radian angle specified as a floating point value
sqrtReturns the square root of a specified double value
sqrtfReturns the square root of a specified floating point value
srandSeeds the random number generator, which causes the sequence generated by repeated calls to the rand function to start in a different place
strcatAppends a specified character string (including its terminating NULL character) to the end of another specified character string
strchrFinds the first occurrence of a specified character (specified by its integer code) within a specified character string, and then either returns a pointer to that character in the string or a NULL if the character is not found
strcmpCompares two specified character strings lexicographically and then returns a value less than, equal to, or greater than zero depending on whether the first string is lexicographically less than, equal to, or greater than the second
strcpyCopies a specified character sting on top of another specified character string including its terminating NULL character and returns the result
strcspnComputes and returns the length of the maximum initial segment of a specified string that consists entirely of characters not found in a second specified string
strlenReturns the length of a specified character string
strncatAppends a specified number of characters (excluding the NULL terminating character) from a specified character string to the end of another specified character string
strncmpCompares a specified number of characters from one specified character string to the same number of characters from a second specified character string, and then returns a value less than, equal to, or greater than zero depending on whether the first string segment is lexicographically less than, equal to, or greater than the second string segment
strncpyCopies a specified number of characters from a specified character string (excluding the NULL terminating character and the characters that follow it) on top of another specified character string
strpbrkFinds the first occurrence in a specified string of any character currently in another specified string and then returns a pointer to that found character or NULL if no character match is found
strrchrFinds the last occurrence of a specified character (specified by its integer code) within a specified character string, and then either returns a pointer to that character in the string or a NULL if the character is not found
strspnComputes the length of the maximum initial segment of a specified string that consists entirely of characters that exist in another specified string, and then returns the length of the segment
strstrLocates the first occurrence in a specified string of the sequence of characters (excluding the NULL terminating character) from another specified string, and then returns either a pointer to the found string or a NULL pointer if the character sequence is not found
strtodConverts a specified character string to a double type
strtokThrough repeated calls, breaks up a specified character string into a sequence of tokens each of which is delimited by a character from a second specified string. Calls subsequent to the first specify a NULL character as the first argument
strtolConverts a specified character string to a long type
strtoulConverts a specified character string to an unsigned long type
tanFinds the tangent of a specified double radian angle
tanfFinds the tangent of a specified floating point radian angle
tanhFinds the hyperbolic tangent of a specified double radian angle
tanhfFinds the hyperbolic tangent of a specified floating point radian angle
NuSystem FunctionsShows an index of all the NuSystem functions
Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.

Copyright © 1998
Nintendo of America Inc.
All rights reserved.
Last updated March 1998