]> diplodocus.org Git - nmh/commitdiff
Add TrimSuffixC(char *s, int c).
authorRalph Corderoy <ralph@inputplus.co.uk>
Tue, 18 Oct 2016 16:05:24 +0000 (17:05 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 19 Oct 2016 09:12:00 +0000 (10:12 +0100)
TrimSuffixC deletes c from the end of non-NULL string s if it's present,
shortening s by 1.  Only one instance of c is removed.


No differences found