File: stdio.h

package info (click to toggle)
arcboot 0.3.12
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 404 kB
  • ctags: 495
  • sloc: ansic: 2,401; makefile: 219; sh: 145
file content (31 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright 1999 Silicon Graphics, Inc.
 */
#ifndef _STDIO_H_
#define _STDIO_H_

#include "types.h"
#include <stdarg.h>

typedef ULONG FILE;

#define EOF	(-1)

extern FILE *stdin;
extern FILE *stdout;

extern int fputs(const char *s, FILE * stream);
extern int puts(const char *s);

extern int fgetc(FILE * stream);
#define getc(stream)	fgetc(stream)
#define getchar()	getc(stdin)

extern int printf(const char *format, ...);
extern int fprintf(FILE * stream, const char *format, ...);
extern int sprintf(char* string, const char* format, ...);
extern int vprintf(const char *format, va_list ap);
extern int vfprintf(FILE * stream, const char *format, va_list ap);
extern int vsprtinf(char* string, const char* format, va_list ap);

#endif				/* _STDIO_H_ */