Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
		
			
				
	
	
		
			37 lines
		
	
	
		
			649 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			649 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* sys/uio.h
 | |
| 
 | |
| This file is part of Cygwin.
 | |
| 
 | |
| This software is a copyrighted work licensed under the terms of the
 | |
| Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
 | |
| details. */
 | |
| 
 | |
| #ifndef _UIO_H_
 | |
| #define _UIO_H_
 | |
| 
 | |
| /* For size_t */
 | |
| #include <stddef.h>
 | |
| /* For ssize_t */
 | |
| #include <sys/types.h>
 | |
| 
 | |
| #include <sys/cdefs.h>
 | |
| 
 | |
| __BEGIN_DECLS
 | |
| 
 | |
| /*
 | |
|  * Define the uio buffers used for writev, readv.
 | |
|  */
 | |
| 
 | |
| struct iovec
 | |
| {
 | |
|   void *iov_base;
 | |
|   size_t iov_len;
 | |
| };
 | |
| 
 | |
| extern ssize_t readv __P ((int filedes, const struct iovec *vector, int count));
 | |
| extern ssize_t writev __P ((int filedes, const struct iovec *vector, int count));
 | |
| 
 | |
| __END_DECLS
 | |
| 
 | |
| #endif /* _UIO_H_ */
 |