syscall.c 467 B

1234567891011121314151617
  1. /*
  2. * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <features.h>
  7. #include <errno.h>
  8. #include <sys/types.h>
  9. #include <sys/syscall.h>
  10. extern long syscall(long int sysnum, long a, long b, long c, long d, long e, long f);
  11. long syscall(long int sysnum, long a, long b, long c, long d, long e, long f)
  12. {
  13. return INLINE_SYSCALL_NCS(sysnum, 6, a, b, c, d, e, f);
  14. }