File:  [CSRG BSD Unix] / 40BSD / libc / sys / getgid.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD40
BSD 4.0

# C library -- getgid

# gid = getgid();
#

	.set	getgid,47
.globl	_getgid

_getgid:
	.word	0x0000
	chmk	$getgid
	ret

# C library -- getegid

# gid = getegid();
# returns effective gid

.globl	_getegid

_getegid:
	.word	0x0000
	chmk	$getgid
	movl	r1,r0
	ret

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.