J
Jeff
Hello everybody,
I just came accross a little problem, I think the answer must be
silly, but I may as well ask. I want open() to create a file if it
does not exist, or else open it, and then for it to append text to the
end of it. Which flags would I use ? I tried (O_CREAT | O_WRONLY |
O_APPEND) but that won't work...
Any help will be appreciated,
Cheers!
- Jeff
I just came accross a little problem, I think the answer must be
silly, but I may as well ask. I want open() to create a file if it
does not exist, or else open it, and then for it to append text to the
end of it. Which flags would I use ? I tried (O_CREAT | O_WRONLY |
O_APPEND) but that won't work...
Any help will be appreciated,
Cheers!
- Jeff