obtained by including .) If O_CREAT is specified in oflag , then the semaphore is created ... calling process. If both O_CREAT and O_EXCL are specified in oflag , thenobject for read-write access. O_CREAT Create the shared memory object if it does ... initialized to 0. O_EXCL If O_CREAT was also specified, and a shared memoryobject for read-write access. O_CREAT Create the shared memory object if it does ... initialized to 0. O_EXCL If O_CREAT was also specified, and a shared memorythis flag is useful. O_CREAT Create the message queue if it does not exist ... calling process. O_EXCL If O_CREAT was specified in oflag , and a queue withRDONLY w O_WRONLY | O_CREAT | O_TRUNC a O_WRONLY | O_CREAT | O_APPEND ... RDWR w+ O_RDWR | O_CREAT | O_TRUNC a+ O_RDWR | O_CREAT | O_APPENDRDONLY w O_WRONLY | O_CREAT | O_TRUNC a O_WRONLY | O_CREAT | O_APPEND ... RDWR w+ O_RDWR | O_CREAT | O_TRUNC a+ O_RDWR | O_CREAT | O_APPENDRDONLY w O_WRONLY | O_CREAT | O_TRUNC a O_WRONLY | O_CREAT | O_APPEND ... RDWR w+ O_RDWR | O_CREAT | O_TRUNC a+ O_RDWR | O_CREAT | O_APPENDmkostemp () includes the values O_RDWR , O_CREAT , and O_EXCL in the flags argumentmkostemp () includes the values O_RDWR , O_CREAT , and O_EXCL in the flags argumentmkostemp () includes the values O_RDWR , O_CREAT , and O_EXCL in the flags argumentmkostemp () includes the values O_RDWR , O_CREAT , and O_EXCL in the flags argumentopen (2) routine, however, only the O_CREAT , O_EXCL , O_EXLOCK , O_NONBLOCKopen (2) routine, however, only the O_CREAT , O_EXCL , O_EXLOCK , O_NONBLOCKFAILURE); } mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULLFAILURE); } mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULL