Talk:Append a record to the end of a text file: Difference between revisions
Talk:Append a record to the end of a text file (view source)
Revision as of 14:58, 26 September 2011
, 12 years ago→Changed
m (→Changed) |
|||
Line 77:
ThanX again. [[User:NevilleDNZ|NevilleDNZ]] 14:28, 26 September 2011 (UTC)
:Ok, but /etc/passwd is probably a bad example for this task, in part because not all operations on /etc/passed are appends. Also, note that write() on an O_APPEND file can still give non-atomic behavior in some cases (for example, upon reaching the ulimit -f value) -- though this can be mitigated by using fixed size records which are a multiple of 512 bytes in length. --[[User:Rdm|Rdm]] 14:58, 26 September 2011 (UTC)
|