source: asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/internal/syscall_ret.c@ 352

Last change on this file since 352 was 352, checked in by coas-nagasima, 6 years ago

arm向けASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 142 bytes
Line 
1#include <errno.h>
2#include "syscall.h"
3
4long __syscall_ret(unsigned long r)
5{
6 if (r > -4096UL) {
7 errno = -r;
8 return -1;
9 }
10 return r;
11}
Note: See TracBrowser for help on using the repository browser.