This patch mainly copies and modifies files existing in the current libc implementing minix specific functions. To keep consisten with the NetBSD libc, we remove namespace stubs and we use "namespace.h" and weak links.
		
			
				
	
	
		
			15 lines
		
	
	
		
			217 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			217 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include <sys/cdefs.h>
 | 
						|
#include <lib.h>
 | 
						|
#include "namespace.h"
 | 
						|
 | 
						|
#include <signal.h>
 | 
						|
 | 
						|
int sigsuspend(set)
 | 
						|
const sigset_t *set;
 | 
						|
{
 | 
						|
  message m;
 | 
						|
 | 
						|
  m.m2_l1 = (long) *set;
 | 
						|
  return(_syscall(PM_PROC_NR, SIGSUSPEND, &m));
 | 
						|
}
 |