• Giles Lean's avatar
    syscall package: document that errno is zeroed on success · ac3cf56d
    Giles Lean authored
    This is a documentation enhancement only, without any code
    change.
    
    The rationale for documenting this precisely is that Unix
    programmers who "know" that errno's value is undefined after
    a successful system call may be surprised otherwise and
    search to be sure that a zero errno may be relied upon after
    successful calls.
    
    R=r, rsc1, rsc
    CC=golang-dev
    https://golang.org/cl/812044
    ac3cf56d
Name
Last commit
Last update
..
Makefile Loading commit data...
asm_darwin_386.s Loading commit data...
asm_darwin_amd64.s Loading commit data...
asm_freebsd_386.s Loading commit data...
asm_freebsd_amd64.s Loading commit data...
asm_linux_386.s Loading commit data...
asm_linux_amd64.s Loading commit data...
asm_linux_arm.s Loading commit data...
asm_mingw_386.s Loading commit data...
asm_nacl_386.s Loading commit data...
exec.go Loading commit data...
mkall.sh Loading commit data...
mkerrors.sh Loading commit data...
mkerrors_nacl.sh Loading commit data...
mksyscall.sh Loading commit data...
mksyscall_mingw.sh Loading commit data...
mksysnum_darwin.sh Loading commit data...
mksysnum_freebsd.sh Loading commit data...
mksysnum_linux.sh Loading commit data...
mksysnum_nacl.sh Loading commit data...
str.go Loading commit data...
syscall.go Loading commit data...
syscall_386.go Loading commit data...
syscall_amd64.go Loading commit data...
syscall_arm.go Loading commit data...
syscall_bsd.go Loading commit data...
syscall_darwin.go Loading commit data...
syscall_darwin_386.go Loading commit data...
syscall_darwin_amd64.go Loading commit data...
syscall_freebsd.go Loading commit data...
syscall_freebsd_386.go Loading commit data...
syscall_freebsd_amd64.go Loading commit data...
syscall_linux.go Loading commit data...
syscall_linux_386.go Loading commit data...
syscall_linux_amd64.go Loading commit data...
syscall_linux_arm.go Loading commit data...
syscall_mingw.go Loading commit data...
syscall_mingw_386.go Loading commit data...
syscall_nacl.go Loading commit data...
syscall_nacl_386.go Loading commit data...
syscall_unix.go Loading commit data...
types_darwin.c Loading commit data...
types_freebsd.c Loading commit data...
types_linux.c Loading commit data...
types_nacl.c Loading commit data...
zerrors_darwin_386.go Loading commit data...
zerrors_darwin_amd64.go Loading commit data...
zerrors_freebsd_386.go Loading commit data...
zerrors_freebsd_amd64.go Loading commit data...
zerrors_linux_386.go Loading commit data...
zerrors_linux_amd64.go Loading commit data...
zerrors_linux_arm.go Loading commit data...
zerrors_mingw_386.go Loading commit data...
zerrors_nacl_386.go Loading commit data...
zsyscall_darwin_386.go Loading commit data...
zsyscall_darwin_amd64.go Loading commit data...
zsyscall_freebsd_386.go Loading commit data...
zsyscall_freebsd_amd64.go Loading commit data...
zsyscall_linux_386.go Loading commit data...
zsyscall_linux_amd64.go Loading commit data...
zsyscall_linux_arm.go Loading commit data...
zsyscall_mingw_386.go Loading commit data...
zsyscall_nacl_386.go Loading commit data...
zsysnum_darwin_386.go Loading commit data...
zsysnum_darwin_amd64.go Loading commit data...
zsysnum_freebsd_386.go Loading commit data...
zsysnum_freebsd_amd64.go Loading commit data...
zsysnum_linux_386.go Loading commit data...
zsysnum_linux_amd64.go Loading commit data...
zsysnum_linux_arm.go Loading commit data...
zsysnum_mingw_386.go Loading commit data...
zsysnum_nacl_386.go Loading commit data...
ztypes_darwin_386.go Loading commit data...
ztypes_darwin_amd64.go Loading commit data...
ztypes_freebsd_386.go Loading commit data...
ztypes_freebsd_amd64.go Loading commit data...
ztypes_linux_386.go Loading commit data...
ztypes_linux_amd64.go Loading commit data...
ztypes_linux_arm.go Loading commit data...
ztypes_mingw_386.go Loading commit data...
ztypes_nacl.go Loading commit data...
ztypes_nacl_386.go Loading commit data...