view include/std.h @ 4:90cd3d9a6ca3

Moved function array declaration, modified the ftoa function so it does not return trailing 0s Also added a return value to sGet though that seems to break some things... The errors for this were very odd, see TODO notes in std.c and init.c
author Jonathan Pevarnek <pevarnj@gmail.com>
date Wed, 02 Mar 2011 00:37:32 -0500
parents 0aa0ad9e1cc3
children 7c2adb65ceac
line wrap: on
line source

#ifndef __STD_H
#define __STD_H

char* ftoa(double x, char *a, unsigned int prec);
char* itoa(int n, char *a);
int atoi(char *a);
double atof(char *a);

void sPrint(char *a);
char* sGet(char *a, unsigned int n);

int strcmp(const char *a, const char *b);

int arrayLookup(char *text, const char array[][10], int last);

char* append(char *dest, char *src);

#endif