![]() The downside is that you have to use write and read instead of fwrite and fread, which don't do things like buffering (that's all done in your libc, not by the OS itself). Of course you could always not use fopen and instead use the open system call available on just about every variant of unix. ![]() ![]() So if this limitation is on the libc level, you will need an alternate solution. If this is the case for your libc as well, you may not be able to do what you want.Īs far as I know, things like setrlimit only effect how many file you can open with open (fopen is almost certainly implemented in terms on open). Some versions of solaris have a similar limitation because they store the fd as an unsigned char in the FILE struct. ![]() This may be a hard limitation of your libc. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |