File: sendfile64.S

package info (click to toggle)
dietlibc 0.34~cvs20160606-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 11,336 kB
  • sloc: ansic: 71,631; asm: 13,006; cpp: 1,860; makefile: 799; sh: 292; perl: 62
file content (13 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "dietfeatures.h"
#include "syscalls.h"
#include "dietwarning.h"

#ifdef __NR_sendfile64
#ifdef WANT_LARGEFILE_BACKCOMPAT
syscall(sendfile64,__dietlibc_sendfile64)
#else
syscall_weak(sendfile64,sendfile64,__libc_sendfile64)
#endif

link_warning(sendfile64,"sendfile64 is not portable")
#endif