Pipes sunexeia..

Dimitrios P. Bouras dbouras at hol.gr
Fri May 16 19:14:27 EEST 1997


Harris Kosmidhs wrote:
> 
> Telika auto pou xreiazontan tio programma me ta pipes htan ena close
> (pipefd)
> Dhaldh estelne kati me thn write kai meta eprepe na kano close(). Omois
> kai otan diabaza..

  To close kanei flushing, kai auto prepei na htan to problhma sou.

> Basika 8a i8ela na rothso an uparxei kamia sunarthsh san thn fflush pou na
> dexetai file descriptor kai oxi FILE*

  Yparxei h fsync() pou kanei update kai to directory entry, alla kai
 stis teleutaies ekdoseis ths libc, h fdatasync() pou den kanei update
 to directory entry kai etsi einai pio grhgorh.

  Dhmhtrhs

 PS. man fsync, man fdatasync.

-- 
|  Dimitrios P. Bouras   |           Tel.: +30 1 894-1320 or 968-0554  |
|  41 Pandora Str.       |   FAX: +30 1 382-7900 "Attention: Dimitri"  |
|  166 74 Athens         |  E-mail: dbouras at hol.gr, dimitri at ee.ubc.ca  |
|  GREECE                |          Web: http://users.hol.gr/~dbouras  |
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte  e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list