Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6411 → Rev 6412

/programs/develop/ktcc/trunk/libc/stdlib/itoab.c
1,12 → 1,13
#include "stdio.h"
#include "stdlib.h"
#include "ctype.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
 
/*
** itoab(n,s,b) - Convert "unsigned" n to characters in s using base b.
** NOTE: This is a non-standard function.
*/
void itoab(int n,char* s,int b)
char* itoab(int n,char* s,int b)
{
char *ptr;
int lowbit;
20,5 → 21,5
++ptr;
} while(n /= b);
*ptr = 0;
reverse (s);
return strrev(s);
}