I image there is a queue for file operation. Is the order of queue is guarantied?
To make my question clear: I am writing a C program (other program would be the same?). I delete a file, then immediately write a file with the same name. If the order of operation is guarantied, I will create a new file. Otherwise, my new writing may be deleted.

Is the order of file operation is guarantied?

Any information would be appreciated. Thanks in advance.