MCPcopy Create free account
hub / github.com/F-Stack/f-stack / kernenv_next

Function kernenv_next

freebsd/kern/kern_environment.c:1004–1016  ·  view source on GitHub ↗

* Find the next entry after the one which (cp) falls within, return a * pointer to its start or NULL if there are no more. */

Source from the content-addressed store, hash-verified

1002 * pointer to its start or NULL if there are no more.
1003 */
1004static char *
1005kernenv_next(char *cp)
1006{
1007
1008 if (cp != NULL) {
1009 while (*cp != 0)
1010 cp++;
1011 cp++;
1012 if (*cp == 0)
1013 cp = NULL;
1014 }
1015 return (cp);
1016}
1017
1018void
1019tunable_int_init(void *data)

Callers 2

init_dynamic_kenv_fromFunction · 0.70
_getenv_static_fromFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected