Hi Yang, Can you clarify what you are trying to do? Are you trying to open a file for writing from within the kernel? That is, is the code that you are writing intended to run in the kernel?
thanks, Andy yang wrote: > Hi all, > when define _KERNEL, I use: > FILE * fp; > fp=fileopen("path","w"); > > > and the sun studio compile promp errors. > > So in C files , how can I open a fild and write something into it in _KERNEL > stat? > > Thanks -- Email: Andrew.Hisgen at sun.com