- 论坛徽章:
- 0
|
+++++++++++++++++++++++++++++++++++++++++++
| process1 | process2 | filename's content
+++++++++++++++++++++++++++++++++++++++++++
|fp1=open('filename') | |======> fp1指向开始
+++++++++++++++++++++++++++++++++++++++++++
| | fp2=open('filename') |=======>fp2指向开始
+++++++++++++++++++++++++++++++++++++++++++
| write('filename', 'content1') | |=======> content1
+++++++++++++++++++++++++++++++++++++++++++
| | write('filename', 'content2') |========>content2
+++++++++++++++++++++++++++++++++++++++++++
| close('filename') | close('filename') |
+++++++++++++++++++++++++++++++++++++++++++
|
|