there is a file named putc.c in lib directory within src directory of MINIX source. It has a function named putc which is used by printf of stdio.h. It goes like this
#include <stdio.h>
int
(putc)(int c, FILE *stream)
{
return putc(c, stream);
}
Could anyone explain what this does. We tried a small program in C with the above form but it never ended.
Help
Ekanth & Madhan Treat the daily build of a project as the heartbeat of the project. If there's no heartbeat the project is dead.
#include <stdio.h>
int
(putc)(int c, FILE *stream)
{
return putc(c, stream);
}
Could anyone explain what this does. We tried a small program in C with the above form but it never ended.
Help
Ekanth & Madhan Treat the daily build of a project as the heartbeat of the project. If there's no heartbeat the project is dead.