libk  Diff

Differences From Artifact [c4373dead4]:

To Artifact [5c15d4cc49]:


5
6
7
8
9
10
11
12
13
14
15
16
17

#include <k/core.h>
#include <k/def.h> // so we know what system this is
#include <k/type.h>

#ifdef KFenv_posix
#	define STOPFN kio_posix_exit
	extern void STOPFN(int);
#else
	Knoimpl(kstop)
#endif

noreturn void kstop (longstat code) { STOPFN(code); }







|




|
5
6
7
8
9
10
11
12
13
14
15
16
17

#include <k/core.h>
#include <k/def.h> // so we know what system this is
#include <k/type.h>

#ifdef KFenv_posix
#	define STOPFN kio_posix_exit
	extern noreturn void STOPFN(int);
#else
	Knoimpl(kstop)
#endif

noreturn void kstop (stat_long code) { STOPFN(code); }