libk  Diff

Differences From Artifact [878278ef2e]:

To Artifact [6007ea2ce5]:


     1         -#include "core.h"
            1  +#include <k/core.h>
     2      2   extern stat entry(kenv);
     3      3   
     4      4   stat _boot(unsigned int argc, char** argv) {
     5         -	kenv e = { argc, argv };
            5  +	kenv e = { 
            6  +		// todo: determine terminal class and set term vs ansi correctly!
            7  +		{ {kiostream_term, 0}, {kiostream_term, 1} }, // chan std
            8  +		{ {kiostream_closed},  {kiostream_term, 2} }, // chan err
            9  +		argc, argv,
           10  +		null // no environment yet
           11  +	};
     6     12   	return entry(e);
     7     13   }
     8     14