libk  Diff

Differences From Artifact [a8282db34a]:

To Artifact [298efe4468]:


     7      7   unsigned long long
     8      8   _boot(unsigned int argc, /* argument count */
     9      9   		const char** argv, /* arguments */
    10     10   		char** envp /* environment */ ) {
    11     11   
    12     12   	_k_internal_binary_name = argv[0];
    13     13   
    14         -	envp ++; /* envp seems to point at a leading null;
    15         -				this is probably a sign of breakage but
    16         -				i don't know what else to do about it for
    17         -				the moment. */
    18         -
    19     14   	char** ep;
    20     15   	/* advance ep until it points at the last element */
    21     16   	for (ep = envp; *ep != 0; ++ep);
    22     17   
    23     18   	/* allocate space for each environment variable */
    24     19   	kvar variables [ep - envp];
    25     20