Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sys_exit (0.17 sec)

  1. src/runtime/sys_netbsd_386.s

    // /usr/src/sys/kern/syscalls.master for syscall numbers.
    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    #define CLOCK_REALTIME		0
    #define CLOCK_MONOTONIC		3
    
    #define SYS_exit			1
    #define SYS_read			3
    #define SYS_write			4
    #define SYS_open			5
    #define SYS_close			6
    #define SYS_getpid			20
    #define SYS_kill			37
    #define SYS_munmap			73
    #define SYS_madvise			75
    #define SYS_fcntl			92
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_mipsx.s

    //go:build linux && (mips || mipsle)
    
    //
    // System calls and other sys.stuff for mips, Linux
    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    #define SYS_exit		4001
    #define SYS_read		4003
    #define SYS_write		4004
    #define SYS_open		4005
    #define SYS_close		4006
    #define SYS_getpid		4020
    #define SYS_kill		4037
    #define SYS_brk			4045
    #define SYS_mmap		4090
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. src/runtime/sys_freebsd_riscv64.s

    // /usr/src/sys/kern/syscalls.master for syscall numbers.
    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    #define CLOCK_REALTIME		0
    #define CLOCK_MONOTONIC		4
    
    #define SYS_exit		1
    #define SYS_read		3
    #define SYS_write		4
    #define SYS_open		5
    #define SYS_close		6
    #define SYS_getpid		20
    #define SYS_kill		37
    #define SYS_sigaltstack		53
    #define SYS_munmap		73
    #define SYS_madvise		75
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. src/runtime/sys_freebsd_arm64.s

    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    #include "cgo/abi_arm64.h"
    
    #define CLOCK_REALTIME		0
    #define CLOCK_MONOTONIC		4
    
    #define SYS_exit		1
    #define SYS_read		3
    #define SYS_write		4
    #define SYS_open		5
    #define SYS_close		6
    #define SYS_getpid		20
    #define SYS_kill		37
    #define SYS_sigaltstack		53
    #define SYS_munmap		73
    #define SYS_madvise		75
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. src/runtime/sys_freebsd_386.s

    // /usr/src/sys/kern/syscalls.master for syscall numbers.
    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    #define CLOCK_REALTIME		0
    #define CLOCK_MONOTONIC		4
    
    #define SYS_exit		1
    #define SYS_read		3
    #define SYS_write		4
    #define SYS_open		5
    #define SYS_close		6
    #define SYS_getpid		20
    #define SYS_kill		37
    #define SYS_sigaltstack		53
    #define SYS_munmap		73
    #define SYS_madvise		75
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/sys_netbsd_arm64.s

    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    #include "cgo/abi_arm64.h"
    
    #define CLOCK_REALTIME		0
    #define CLOCK_MONOTONIC		3
    
    #define SYS_exit			1
    #define SYS_read			3
    #define SYS_write			4
    #define SYS_open			5
    #define SYS_close			6
    #define SYS_getpid			20
    #define SYS_kill			37
    #define SYS_munmap			73
    #define SYS_madvise			75
    #define SYS_fcntl			92
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. src/syscall/exec_freebsd.go

    		uintptr(unsafe.Pointer(&envv[0])))
    
    childerror:
    	// send error code on pipe
    	RawSyscall(SYS_WRITE, uintptr(pipe), uintptr(unsafe.Pointer(&err1)), unsafe.Sizeof(err1))
    	for {
    		RawSyscall(SYS_EXIT, 253, 0, 0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. src/syscall/exec_bsd.go

    		uintptr(unsafe.Pointer(&envv[0])))
    
    childerror:
    	// send error code on pipe
    	RawSyscall(SYS_WRITE, uintptr(pipe), uintptr(unsafe.Pointer(&err1)), unsafe.Sizeof(err1))
    	for {
    		RawSyscall(SYS_EXIT, 253, 0, 0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd_mips64.s

    #include "textflag.h"
    
    #define CLOCK_REALTIME	$0
    #define	CLOCK_MONOTONIC	$3
    
    // Exit the entire program (like C exit)
    TEXT runtime·exit(SB),NOSPLIT|NOFRAME,$0
    	MOVW	code+0(FP), R4		// arg 1 - status
    	MOVV	$1, R2			// sys_exit
    	SYSCALL
    	BEQ	R7, 3(PC)
    	MOVV	$0, R2			// crash on syscall failure
    	MOVV	R2, (R2)
    	RET
    
    // func exitThread(wait *atomic.Uint32)
    TEXT runtime·exitThread(SB),NOSPLIT,$0
    	MOVV	wait+0(FP), R4		// arg 1 - notdead
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. istioctl/cmd/sysexits.go

    )
    
    // Values should try to use sendmail-style values as in <sysexits.h>
    // See e.g. https://man.openbsd.org/sysexits.3
    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top