projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 3 development
[unix-history]
/
usr
/
src
/
libc
/
sys
/
getgid.s
# 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