Re: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-17 Thread Corinna Vinschen
Please don't http://cygwin.com/acronyms/#TOFU Thanks. On Dec 16 12:11, Steven Bardwell wrote: > OK -- I rewrote the test program using the POSIX IPC routine sem_open() > and the program runs in SH.exe (and mintty.exe) but gives this message > when run from a DOS box: > > Warning: '/dev/shm' doe

Re: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-16 Thread Lord Laraby
Please do not #TOFU. That makes reading these threads very confusing. Terry -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

RE: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-16 Thread Steven Bardwell
OK -- I rewrote the test program using the POSIX IPC routine sem_open() and the program runs in SH.exe (and mintty.exe) but gives this message when run from a DOS box: Warning: '/dev/shm' does not exists or is not a directory. POSIX semaphores require the existance of this directory. Create the

Re: semget() API fails when run from CMD.exe but works from SH.exe

2013-12-16 Thread Corinna Vinschen
On Dec 14 08:04, Steven Bardwell wrote: > I would like my Cygwin programs to work from a DOS (CMD.exe) window, but I > am > having problems with some API calls. Here is a simple program that tries to > create > a semaphore – it works fine when it is run from sh.exe (or in a mintty > window), but >