version 1.7, 2010/03/08 14:28:20
|
version 1.16, 2010/07/14 14:19:37
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.12 |
RPL/2 (R) version 4.0.18 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 1017 instruction_open(struct_processus *s_eta
|
Line 1017 instruction_open(struct_processus *s_eta
|
"\"file name\" } \"protection\" } OPEN\n"); |
"\"file name\" } \"protection\" } OPEN\n"); |
printf(" { \"sockettype\" { \"name\" \"local name\" } } OPEN\n"); |
printf(" { \"sockettype\" { \"name\" \"local name\" } } OPEN\n"); |
printf(" { \"sockettype\" \"socketdomain\" \"protection\" } OPEN\n"); |
printf(" { \"sockettype\" \"socketdomain\" \"protection\" } OPEN\n"); |
|
printf(" \"/semaphore\" OPEN\n"); |
|
|
printf(" File type : NEW/OLD/REPLACE/UNKNOWN/SCRATCH\n"); |
printf(" File type : NEW/OLD/REPLACE/UNKNOWN/SCRATCH\n"); |
printf(" File access : SEQUENTIAL/DIRECT/KEYED\n"); |
printf(" File access : SEQUENTIAL/DIRECT/KEYED\n"); |
Line 4081 instruction_open(struct_processus *s_eta
|
Line 4082 instruction_open(struct_processus *s_eta
|
strcpy((*((struct_socket *) (*s_objet_resultat).objet)). |
strcpy((*((struct_socket *) (*s_objet_resultat).objet)). |
type, "ROBUST DATAGRAM"); |
type, "ROBUST DATAGRAM"); |
break; |
break; |
|
|
|
default : |
|
BUG(1, printf("type_socket=%c\n", type_socket)); |
|
break; |
} |
} |
|
|
if ((protection != 'N') && ((type_socket != 'S') && |
if ((protection != 'N') && ((type_socket != 'S') && |
Line 5260 instruction_open(struct_processus *s_eta
|
Line 5265 instruction_open(struct_processus *s_eta
|
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
(*s_etat_processus).erreur_systeme = d_es_allocation_memoire; |
return; |
return; |
} |
} |
|
|
|
liberation(s_etat_processus, s_objet_argument); |
} |
} |
else |
else |
{ |
{ |