stdio.h help

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
jmathata

stdio.h help

Post by jmathata »

Am a newbie in OS programming and want to develop an API which uses library calls fopen ,fclose ,ferror,feof,fputc,fgetc provided in the Standard C library headers stdio.h.
I tried finding information on the web about how to Design these function but i only managed to get how to use the already defined ones .
If anyone knows where i can get the information or can help pls do so.
thanx in advance.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:stdio.h help

Post by Pype.Clicker »

Could you be a bit more precise on what you wish to do ? Writing your own stdio.h-compliant library or using stdio.h in your kernel ? Or writing a system-call that immediately supports stdio-like operations with no additionnal layer ?

I guess it's rather the former one. If it's the case, i suggest you look at struct FILE* declaration and figure out what all those fields are about.
Post Reply