blob: 1802ce80a17d78cc6b02cff49c7b688a7662e762 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(getpid)
mov x8, __NR_getpid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
b.hi __set_errno
ret
END(getpid)