aki <> writes:
> i have two basic requirement on linux platform . I am using C language
> to do this .
> 1) copying one file to another (assuming i know their file
> descriptors)
> 2) Overwriting a file using it file descriptor .
File descriptors are a Unix concept, not a C concept.
I'm sure the folks over in comp.unix.programmer would be glad to help
you with this. Just to make things easier, give them your instructor's
e-mail address so they can submit their solutions to your homework
assignment directly.
(My apologies if this isn't a homework assignment, but it certainly
looks like one.)
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"