github.com/akaros/go-akaros@v0.0.0-20181004170632-85005d477eab/src/lib9/windows.c (about)

     1  // Copyright 2009 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  #include <u.h>
     6  #include <libc.h>
     7  
     8  int
     9  fork(void)
    10  {
    11  	return -1;
    12  }
    13  
    14  int
    15  p9rfork(int flags)
    16  {
    17  	USED(flags);
    18  	return -1;
    19  }
    20  
    21  Waitmsg*
    22  p9wait(void)
    23  {
    24  	return 0;
    25  }
    26  
    27  int
    28  p9waitpid(void)
    29  {
    30  	return -1;
    31  }