Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4873 → Rev 4874

/contrib/sdk/sources/newlib/libc/crt/exit.S
0,0 → 1,20
 
 
.section .text
 
.global __exit
.global __Exit
 
 
.align 4
__exit:
__Exit:
movl 4(%esp), %edx #store exit code
movl $68, %eax
movl $13, %ebx
movl %fs:8, %ecx
int $0x40 #destroy stack
 
movl $-1, %eax
int $0x40 #terminate thread