MCPcopy Create free account
hub / github.com/acl-dev/acl / trimblanks

Function trimblanks

lib_acl_cpp/src/mime/internal/trimblanks.cpp:40–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#include "trimblanks.hpp"
39
40char *trimblanks(char *string, int len)
41{
42 char *curr;
43
44 if (len) {
45 curr = string + len;
46 } else {
47 for (curr = string; *curr != 0; curr++)
48 /* void */ ;
49 }
50 while (curr > string && ACL_ISSPACE(curr[-1]))
51 curr -= 1;
52 return (curr);
53}
54
55#endif // !defined(ACL_MIME_DISABLE)

Callers 1

header_opts_findFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…