Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3987 → Rev 3988

/programs/system/shell/system/string.c
123,7 → 123,22
}
 
 
char* strrchr(const char* string, int c)
{
int last_found;
while (*string)
{
if (*string==c)
{
last_found = string;
}
string++;
}
return (char*)last_found;
}
 
 
 
void _itoa(int i, char *s)
{
int a, b, c, d;
/programs/system/shell/system/string.h
13,6 → 13,7
char* strncpy(char *strDest, const char *strSource, unsigned n);
int strlen(const char* string);
char* strchr(const char* string, int c);
char* strrchr(const char* string, int c);
void _itoa(int i, char *s);
void reverse(char *s);
void itoa(int i, char *s);