strrtrim
Removes trailing spaces from the end of a string. See "trim" to remove leading spaces.
AI
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Source Code
/* strrtrim : removes trailing spaces from the end of a string*/
static char* strrtrim( char* s)
{
int i;
if (s) {
i = strlen(s); while ((--i)>0 && isspace(s[i]) ) s[i]=0;
}
return s;
}
Original Comments (3)
Recovered from Wayback Machine