netinet/if_ether.h: add ETH_P_DSA_8021Q from linux v5.2
[musl.git] / src / internal / syscall_ret.c
bloba3f471368fc36ec6ebadbfe37f81ace83aaa4c7b
1 #include <errno.h>
2 #include "syscall.h"
4 long __syscall_ret(unsigned long r)
6 if (r > -4096UL) {
7 errno = -r;
8 return -1;
10 return r;