finished adding description of functions to interface

This commit is contained in:
celso 2022-12-10 22:38:46 -03:00
parent 939f7ecb94
commit eaf0ea8324
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ int powerof(int base, int exponent); /* returns power of base to the exponent */
int stringtoint(char number[], int length); /* returns an int of 'length' length from the string 'number', make sure string only has numbers in it or results will not be as expected */ int stringtoint(char number[], int length); /* returns an int of 'length' length from the string 'number', make sure string only has numbers in it or results will not be as expected */
int stringlength(char string[]); /* no security checks, make sure string is null terminated */ int stringlength(char string[]); /* no security checks, make sure string is null terminated */
int splitstr(char** dest, char line[], int index1, int index2); /* add a substring from 'line' to 'dest'. index1 is offset of characters read from 'line' and index2 is the place in 'dest' to store the new char, returns int with new offset of characters read from 'line' + 1 **/ int splitstr(char** dest, char line[], int index1, int index2); /* add a substring from 'line' to 'dest'. index1 is offset of characters read from 'line' and index2 is the place in 'dest' to store the new char, returns int with new offset of characters read from 'line' + 1 **/
int countblanks(char line[]); /* */ int countblanks(char line[]); /* return ammount of blanks in string */
void newlinetonullbyte(char string[]); /* */ void newlinetonullbyte(char string[]); /* converts newline to nullbyte in a string, check that you only have newlines after the content you care about */
int changefreq(int threads, char* step){ int changefreq(int threads, char* step){
int i; int i;