[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-glibc
Subject:    fopen() with open() and fdopen()
From:       Muzaffer Ozakca <muzaffer.ozakca () bilten ! metu ! edu ! tr>
Date:       2001-11-29 7:22:26
[Download RAW message or body]

Hello,

Can we mimic the behavior of fopen() with open() and fdopen(). What 
consequences will arise?

What about fclose(), can we just fflush() and close() instead of calling 
fclose(). I guess, open/fdopen() will work, but I have doubts that using 
fflush() and close() will leak memory in stdio. What do you think?

-- 
Muzaffer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic