Added copyright notice
This commit is contained in:
		
							parent
							
								
									c428b33acc
								
							
						
					
					
						commit
						b8835cee3f
					
				
					 118 changed files with 472 additions and 0 deletions
				
			
		|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <stdio.h> | ||||
| #include <ctype.h> | ||||
| #include <signal.h> | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| # | ||||
| 
 | ||||
| #ifndef NORCSID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| #include <em_path.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #ifndef NORCSID | ||||
| # define RCS_SYMB	"$Header$" | ||||
| #endif | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "bem.h" | ||||
| 
 | ||||
| #ifndef NORSCID | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "em_arith.h" | ||||
| #include "em_label.h" | ||||
| #include "em_code.h" | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #define arith	long | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #define C_lae_dnam _1_C_lae_dnam | ||||
| #define C_lae_dlb _2_C_lae_dlb | ||||
| #define C_sde_dnam _3_C_sde_dnam | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #define label unsigned int | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	M E M O R Y  A L L O C A T I O N  R O U T I N E S	*/ | ||||
| 
 | ||||
| /*	The memory allocation routines offered in this file are:
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	<system.h> | ||||
| 
 | ||||
| No_Mem() | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	botch - write garbage over a chunk of memory, useful if you want
 | ||||
| 		to check if freed memory is used inappopriately. | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	clear - clear a block of memory, and try to do it fast.
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	st_alloc - get a structure from a free list. If no structures left,
 | ||||
| 		create new ones. The structures for which this works are | ||||
| 		supposed to have as their first tag the string "next", which | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	st_alloc - get a structure from a free list. If no structures left,
 | ||||
| 		create new ones. The structures for which this works are | ||||
| 		supposed to have as their first tag the string "next", which | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* _BadAssertion: used for debugging purposes. It should give an error message
 | ||||
| 	indicated by the parameters, and then give a core dump | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <system.h> | ||||
| 
 | ||||
| C_failed() | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* EM CODE OUTPUT ROUTINES */ | ||||
| 
 | ||||
| #include <system.h> | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <system.h> | ||||
| 
 | ||||
| C_failed() | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| /* EM CODE OUTPUT ROUTINES */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <em.h> | ||||
| #include <em_mes.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| /*	AtEoIF : a routine doing nothing. It is called at the end of an
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| /*	AtEoIT : a routine doing nothing. It is called at the end of an
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	<stdio.h> | ||||
| #include	"param.h" | ||||
| #include	"impl.h" | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #ifdef	CHECK | ||||
| 
 | ||||
| public check_mallinks(), calc_checksum(), check_work_empty(); | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	find out if a pointer-sized integer, preferably unsigned,
 | ||||
| 	must be declared as an unsigned int or a long | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	"param.h" | ||||
| #include	"impl.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	This file essentially describes how the mallink info block
 | ||||
| 	is implemented. | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	"param.h" | ||||
| #include	"impl.h" | ||||
| #include	"check.h" | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	Algorithms to manipulate the doubly-linked lists of free
 | ||||
| 	chunks. | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	"param.h" | ||||
| #include	"impl.h" | ||||
| #include	"check.h" | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	"size_type.h" | ||||
| 
 | ||||
| /*#	define	NON_STANDARD	/*	If defined, the contents of a block
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include	"param.h" | ||||
| #include	"impl.h" | ||||
| #include	"check.h" | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	Algorithms to manipulate the doubly-linked list of physical
 | ||||
| 	chunks. | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| char	bytes_reversed = 0; | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "byte_order.h" | ||||
| 
 | ||||
| #if CHAR_UNSIGNED | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <out.h> | ||||
| #include "object.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <arch.h> | ||||
| #include "object.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #define MININT		(1 << (sizeof(int) * 8 - 1)) | ||||
| #define MAXCHUNK	(~MININT)	/* Highest count we read(2).	*/ | ||||
| /* Unfortunately, MAXCHUNK is too large with some  compilers. Put it in
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "object.h" | ||||
| 
 | ||||
| int | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "object.h" | ||||
| 
 | ||||
| long | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <ranlib.h> | ||||
| #include "object.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "object.h" | ||||
| 
 | ||||
| unsigned int | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*
 | ||||
|  * You can choose between two strategies: | ||||
|  *	- Open the output file several times, once for each logical part, and | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <arch.h> | ||||
| #include "object.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #define MININT		(1 << (sizeof(int) * 8 - 1)) | ||||
| #define MAXCHUNK	(~MININT)	/* Highest count we write(2).	*/ | ||||
| /* Notice that MAXCHUNK itself might be too large with some compilers.
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "object.h" | ||||
| 
 | ||||
| wr_int2(fd, i) | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include "object.h" | ||||
| 
 | ||||
| wr_long(fd, l) | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <stdio.h> | ||||
| 
 | ||||
| static char buf[BUFSIZ]; | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| #include <ranlib.h> | ||||
| #include "object.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #include <system.h> | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| char *long2str(); | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #include <system.h> | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #define SSIZE 1024 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #include <system.h> | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #define stdin	STDIN | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| #include <system.h> | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| /* Variables must be declared somewhere ... */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* $Header$ */ | ||||
| 
 | ||||
| struct e_instr { | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	makecalls: expand a datastructure as delivered by "EM_getline"
 | ||||
| 	into calls to the procedural interface. | ||||
| 	Exported routine: | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	Read_em: a module to read either compact or human readable EM code.
 | ||||
| 	Exported are the following routines: | ||||
| 	EM_open() :	has a parameter representing either a pointer to a | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	This file is ment to be included in the file read_emeV.c.
 | ||||
| 	It contains the part that takes care of the reading of human readable | ||||
| 	EM-code. | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	This file must be included in the file "read_emk.c".
 | ||||
| 	It takes care of the reading of compact EM code. | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	bts2str() turns a row of bytes b with length n into string s
 | ||||
| 	The ASCII set of characters is used. | ||||
| 	86/03/17 EHB | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* btscat()
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* btscmp()
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* btscpy()
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* btszero()
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* Integer to String translator
 | ||||
| 	-> base is a value from [-16,-2] V [2,16] | ||||
| 	-> base < 0: see 'val' as unsigned value | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* str2bts -- (1985, EHB)
 | ||||
| */ | ||||
| static | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* str2long()
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* append t to s
 | ||||
| */ | ||||
| char * | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	return negative, zero or positive value if
 | ||||
| 	resp. s < t, s == t or s > t | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* Copy t into s
 | ||||
| */ | ||||
| char * | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* strindex() -- (86/03/18 EHB)
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* return length of s
 | ||||
| */ | ||||
| int | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* append t to s, upto n characters	
 | ||||
| */ | ||||
| char * | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /*	return negative, zero or positive value if
 | ||||
| 	resp. s < t, s == t or s > t; compare at most n characters | ||||
| */ | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* Copy t into s, upto n characters
 | ||||
| */ | ||||
| char * | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| char * | ||||
| strrindex(str, chr) | ||||
| 	register char *str, chr; | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. | ||||
|  * See the copyright notice in the ACK home directory, in the file "Copyright". | ||||
|  */ | ||||
| /* strzero()
 | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
Some files were not shown because too many files have changed in this diff Show more
		Loading…
	
	Add table
		
		Reference in a new issue