File: %40m..%40slib%40sposix%40sposix.nim.c

package info (click to toggle)
nim 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,911,644 kB
  • sloc: sh: 24,603; ansic: 1,761; python: 1,492; makefile: 1,013; sql: 298; asm: 141; xml: 13
file content (49 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Generated by Nim Compiler v2.2.0 */
#define NIM_INTBITS 64
#define NIM_EmulateOverflowChecks

#include "nimbase.h"
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, WIFSIGNALED__posixZposix_u867)(int s_p0) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	T1_ = (NIM_BOOL)0;
	T1_ = (((NI32)0) < (NI32)(s_p0 & ((NI32)127)));
	if (!(T1_)) goto LA2_;
	T1_ = ((NI32)(s_p0 & ((NI32)127)) < ((NI32)127));
LA2_: ;
	result = T1_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(int, WTERMSIG__posixZposix_u861)(int s_p0) {
	int result;
	result = (NI32)(s_p0 & ((NI32)127));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(int, WEXITSTATUS__posixZposix_u851)(int s_p0) {
	int result;
	result = (NI32)((NI32)((NI64)(s_p0) >> (NU64)(((NI)8))) & ((NI32)255));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, WIFEXITED__posixZposix_u858)(int s_p0) {
	NIM_BOOL result;
	result = ((NI32)(s_p0 & ((NI32)255)) == ((NI32)0));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(int, symlink__posixZposix_u1544)(NCSTRING a1_p0, NCSTRING a2_p1) {
	int result;
	result = ((int)-1);
	return result;
}