Debian Codegraph @

syscallx/generate

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 set -e
3
4 mksys="$(goscip-shell system . . go. env GOROOT)/src/pkg/syscall/mksyscall.pl"
5
6 fixscip-shell shell shell-project 0.0.0 fix().() {
7 sedscip-shell system . . sed. 's,^package syscall$,&x\nimport "syscall",' \
8 | gofmtscip-shell system . . gofmt. -r='BytePtrFromString -> syscall.BytePtrFromString' \
9 | gofmtscip-shell system . . gofmt. -r='Syscall6 -> syscall.Syscall6' \
10 | gofmtscip-shell system . . gofmt. -r='Syscall -> syscall.Syscall' \
11 | gofmtscip-shell system . . gofmt. -r='SYS_GETXATTR -> syscall.SYS_GETXATTR' \
12 | gofmtscip-shell system . . gofmt. -r='SYS_LISTXATTR -> syscall.SYS_LISTXATTR' \
13 | gofmtscip-shell system . . gofmt. -r='SYS_SETXATTR -> syscall.SYS_SETXATTR' \
14 | gofmtscip-shell system . . gofmt. -r='SYS_REMOVEXATTR -> syscall.SYS_REMOVEXATTR' \
15 | gofmtscip-shell system . . gofmt. -r='SYS_MSYNC -> syscall.SYS_MSYNC'
16 }
17
18 cd "$(dirnamescip-shell system . . dirname. "$0")"
19
20 $mksys xattr_darwin.go \
21 | fixscip-shell shell shell-project 0.0.0 fix(). \
22 >xattr_darwin_amd64.go
23
24 $mksys -l32 xattr_darwin.go \
25 | fixscip-shell shell shell-project 0.0.0 fix(). \
26 >xattr_darwin_386.go
27
28 $mksys msync.go \
29 | fixscip-shell shell shell-project 0.0.0 fix(). \
30 >msync_amd64.go
31
32 $mksys -l32 msync.go \
33 | fixscip-shell shell shell-project 0.0.0 fix(). \
34 >msync_386.go