strrtrim
Removes trailing spaces from the end of a string. See "trim" to remove leading spaces.
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.
सोर्स कोड
/* 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;
}
मूल टिप्पणियाँ (3)
Wayback Machine से पुनर्प्राप्त