]> Cypherpunks repositories - gostls13.git/commit
new syscall package: manually maintained files and scripts.
authorRuss Cox <rsc@golang.org>
Tue, 2 Jun 2009 05:14:57 +0000 (22:14 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 2 Jun 2009 05:14:57 +0000 (22:14 -0700)
commit602a446b74083ac027f1d0740d1e724534222a10
tree1de95562bcec61caf68813011ee5e5536e6059cf
parent9e0fec9c9c6b3d621dd64c943b050920cb8407e7
new syscall package: manually maintained files and scripts.
auto-generated files and deletions are in another CL.

goals for new syscall:
* automate as much as possible
* do not let clients do unsafe things
* use simple types (int not int64)
* fewer files

the files are renamed from foo_amd64_linux to foo_linux_amd64,
both because it reads better (all the linux are related, all the amd64 less so)
and because it made it easier to replace the existing ones.

R=r
DELTA=2336  (2260 added, 6 deleted, 70 changed)
OCL=29709
CL=29723
15 files changed:
src/lib/syscall/PORT [new file with mode: 0755]
src/lib/syscall/errstr.go [new file with mode: 0644]
src/lib/syscall/exec.go
src/lib/syscall/mkerrors [new file with mode: 0755]
src/lib/syscall/mksyscall [new file with mode: 0755]
src/lib/syscall/mksysnum_darwin [new file with mode: 0755]
src/lib/syscall/syscall.go
src/lib/syscall/syscall_darwin.go [new file with mode: 0644]
src/lib/syscall/syscall_darwin_amd64.go [new file with mode: 0644]
src/lib/syscall/syscall_linux.go [new file with mode: 0644]
src/lib/syscall/syscall_linux_amd64.go [new file with mode: 0644]
src/lib/syscall/types_darwin.c [new file with mode: 0644]
src/lib/syscall/types_darwin_amd64.c [new file with mode: 0644]
src/lib/syscall/types_linux.c [new file with mode: 0644]
src/lib/syscall/types_linux_amd64.c [new file with mode: 0644]