File: creat.c

package info (click to toggle)
glibc 2.19-13
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 202,472 kB
  • ctags: 140,344
  • sloc: ansic: 969,274; asm: 241,208; sh: 10,047; makefile: 8,467; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (8 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
/* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list defines creat and
   creat64 for most linux targets, but on alpha creat is not a syscall.
   If we do nothing, we'll wind up with creat64 being undefined, because
   the syscalls.list assumes the creat->creat64 alias was created.  We
   could have overridden that with a create64.c, but we might as well do
   the right thing and set up creat64 as an alias.  */
#include <io/creat.c>
weak_alias(__libc_creat, creat64)