MCPcopy Create free account
hub / github.com/Singular/Singular / my_index

Function my_index

resources/fegetopt.c:198–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static const char * my_index (const char *str, int chr)
199{
200 while (*str)
201 {
202 if (*str == chr)
203 return (const char *) str;
204 str++;
205 }
206 return 0;
207}
208
209#endif /* GNU C library. */
210

Callers 1

_fe_getopt_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected