Does not remove the directory itself, only the contents.
This function is a much safer way of doing strlen as it checks for NULL and a stupidly long string.
The text to check
The maximum length of the string
Converts a string into a signed integer value in a safe way.
The text the convert
The return numeric return value
Converts a string into a unsigned integer value in a safe way.
The text the convert
The return numeric return value
Converts a string into a unsigned integer value in a safe way.
The text the convert
The return numeric return value
This function is a much safer way of doing "if (strlen (text) == 0))" as it does not rely on text being NULL terminated. It's also much quicker as it only checks the first byte rather than scanning the whole string just to verify it's not zero length.
The text to check
The unknown percentage value