Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3756 → Rev 3755

/trunk/uspace/app/tester/stdio/stdio1.def
File deleted
/trunk/uspace/app/tester/stdio/stdio1.c
File deleted
/trunk/uspace/app/tester/tester.c
59,7 → 59,6
#include "loop/loop1.def"
#include "vfs/vfs1.def"
#include "console/console1.def"
#include "stdio/stdio1.def"
{NULL, NULL, NULL}
};
 
/trunk/uspace/app/tester/tester.h
72,7 → 72,6
extern char * test_loop1(bool quiet);
extern char * test_vfs1(bool quiet);
extern char * test_console1(bool quiet);
extern char * test_stdio1(bool quiet);
 
extern test_t tests[];
 
/trunk/uspace/app/tester/Makefile
57,7 → 57,6
loop/loop1.c \
devmap/devmap1.c \
console/console1.c \
stdio/stdio1.c \
vfs/vfs1.c
 
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
/trunk/uspace/lib/libc/include/errno.h
35,10 → 35,6
#ifndef LIBC_ERRNO_H_
#define LIBC_ERRNO_H_
 
/* TODO: support threads/fibrils */
extern int _errno;
#define errno _errno
 
#include <kernel/errno.h>
 
#define ENAMETOOLONG (-256)
/trunk/uspace/lib/libc/include/stdio.h
52,17 → 52,6
(void) __SYSCALL3(SYS_KLOG, 1, (sysarg_t) buf, strlen(buf)); \
}
 
typedef struct {
/** Underlying file descriptor. */
int fd;
 
/** Error indicator. */
int error;
 
/** End-of-file indicator. */
int eof;
} FILE;
 
extern int getchar(void);
 
extern int puts(const char *);
81,14 → 70,6
 
extern int rename(const char *, const char *);
 
extern FILE *fopen(const char *, const char *);
extern int fclose(FILE *);
extern size_t fread(void *, size_t, size_t, FILE *);
extern size_t fwrite(const void *, size_t, size_t, FILE *);
extern int feof(FILE *);
extern int ferror(FILE *);
extern void clearerr(FILE *);
 
#endif
 
/** @}
/trunk/uspace/lib/libc/generic/io/stdio.c
File deleted
/trunk/uspace/lib/libc/generic/libc.c
53,8 → 53,6
extern char _heap;
extern int main(int argc, char *argv[]);
 
int _errno;
 
void _exit(int status)
{
thread_exit(status);
/trunk/uspace/lib/libc/Makefile
60,7 → 60,6
generic/io/asprintf.c \
generic/io/io.c \
generic/io/printf.c \
generic/io/stdio.c \
generic/io/stream.c \
generic/io/sprintf.c \
generic/io/snprintf.c \