Commande

Fermé
black light Messages postés 29 Date d'inscription lundi 28 octobre 2013 Statut Membre Dernière intervention 20 février 2015 - 9 janv. 2015 à 01:07
 Utilisateur anonyme - 9 janv. 2015 à 08:55
Bonjour,

s'il vous plait quelqu'un peut m'expliquer les commandes :
mode_t mode=S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
fd =open(argv[1], O_WRONLY | OEXCL | O_CREAT , mode);
merci d'avance.

A voir également:

1 réponse

Utilisateur anonyme
9 janv. 2015 à 08:55
Bonjour

Les bits pour le mode sont expliqués là :
http://www.gnu.org/software/libc/manual/html_node/Permission-Bits.html
1