strrtrim
Removes trailing spaces from the end of a string. See "trim" to remove leading spaces.
AI
Riepilogo AI: 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.
Codice sorgente
/* 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;
}
Commenti originali (3)
Recuperato da Wayback Machine