touch

touch -- Nastavit čas změny souboru

Popis

int touch ( string filename [, int time])

Pokusí se nastavit čas změnu souboru filename na time . Pokud filename není přítomen , použije se aktuální čas .

Pokud tento soubor neexistuje , vytvoří se .

Při úspěchu vrací TRUE , jinak FALSE .

Příklad 1 . Ukázka touch( )