Added include-file interface for stdio_dep.c
This commit is contained in:
		
							parent
							
								
									17bca3eceb
								
							
						
					
					
						commit
						d6c6a3030f
					
				|  | @ -28,6 +28,8 @@ | |||
| #include <errno.h> | ||||
| #include <sys/select.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h"	/* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
|  | @ -26,6 +26,8 @@ | |||
| #include "libcig.h" | ||||
| #include <errno.h> | ||||
| 
 | ||||
| #include "stdio_dep.h" /* Make sure the .h interface agrees with the code. */ | ||||
| 
 | ||||
| /* These two procs return #t if data ready, #f data not ready, 
 | ||||
| ** and errno if error. | ||||
| */ | ||||
|  |  | |||
|  | @ -0,0 +1,13 @@ | |||
| /* Exports from stdio_dep.h. */ | ||||
| 
 | ||||
| scheme_value char_ready_fdes(int fd); | ||||
| 
 | ||||
| scheme_value stream_char_readyp(FILE *f); | ||||
| 
 | ||||
| void setfileno(FILE *fs, int fd); | ||||
| 
 | ||||
| int fbufcount(FILE* fs); | ||||
| 
 | ||||
| int ibuf_empty(FILE *fs); | ||||
| 
 | ||||
| int obuf_full(FILE *fs); | ||||
		Loading…
	
		Reference in New Issue
	
	 shivers
						shivers