stdlib.c File Reference

#include <unistd.h>
#include "BUILD/bitc-runtime.h"

Go to the source code of this file.

Functions

bitc_int32_t bitc_stdlib_atoi (bitc_string_t *str)
 Return an integer from the leading characters of a string.
bitc_uns64_t bitc_stdlib_getTimeStamp ()


Function Documentation

bitc_int32_t bitc_stdlib_atoi ( bitc_string_t str  ) 

Return an integer from the leading characters of a string.

atoi() converts a string consisting of an optional leading "-" followed by ASCII digits into a 32-bit integer. Conversion halts at the first non-digit character in the input string.

Definition at line 13 of file stdlib.c.

References bitc_string_t::length, and bitc_string_t::s.

bitc_uns64_t bitc_stdlib_getTimeStamp (  ) 

Definition at line 114 of file stdlib.c.


Generated on Sat Feb 4 23:59:30 2012 for BitC Runtime Library by  doxygen 1.4.7