• [^] # Re: fcntl

    Posté par . En réponse au message Locker un fichier. Évalué à 1.

    Merci de ta réponse, mais malheureusement cela n'a pas d'effet ni en lecture ni en ecriture :


    [yatt@localhost l]$ echo test > foo.bar
    [yatt@localhost l]$ nohup ./main &
    [1] 24352
    nohup: ignoring input and appending output to `nohup.out'
    [yatt@localhost l]$ cat foo.bar
    test
    [yatt@localhost l]$ cat foo.bar
    test