File: trysendfile.c

package info (click to toggle)
bglibs 2.04%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,500 kB
  • sloc: ansic: 15,824; perl: 674; sh: 63; makefile: 29
file content (9 lines) | stat: -rw-r--r-- 145 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
#include <sys/sendfile.h>
#include <asm/unistd.h>
#include <unistd.h>

void main(void) {
  int x;
  x = __NR_sendfile;
  sendfile(0, 1, 0, 0);
}