]>
git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/mksysnum_openbsd.pl
2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file.
6 # Generate system call table for OpenBSD from master list
7 # (for example, /usr/src/sys/kern/syscalls.master).
11 if($ENV{'GOARCH'} eq "" || $ENV{'GOOS'} eq "") {
12 print STDERR
"GOARCH or GOOS not defined in environment\n";
16 my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV);
20 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
22 // +build $ENV{'GOARCH'},$ENV{'GOOS'}
30 if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?({ \S+\s+\*?(\w+).*)$/){
36 # There are multiple entries for enosys and nosys, so comment them out.
37 if($name =~ /^SYS_E?NOSYS$/){
40 if($name eq 'SYS_SYS_EXIT'){
44 print " $name = $num; // $proto\n";