projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Bell 32V development
[unix-history]
/
usr
/
src
/
libc
/
sys
/
getpid.s
# getpid -- get process ID
.set getpid,20
.globl _getpid
_getpid:
.word 0x0000
chmk $getpid
ret
.globl _getppid
_getppid:
.word 0x0000
chmk $getpid
movl r1,r0
ret