Re: file lock() and share.exe

2003-09-20 Thread John Charlton
On Friday 12 September 2003 09:42, John Charlton wrote: On Friday 12 September 2003 06:21, Bart Oldeman wrote: On Thu, 11 Sep 2003, John Charlton wrote: I have a dos application compiled with djgpp compiler in dosemu. A call to the lock() function which works in native freedos (beta 8)

Re: file lock() and share.exe

2003-09-20 Thread Bart Oldeman
On Sat, 20 Sep 2003, John Charlton wrote: void chkkbd(void) { int ch; char str[80]; fprintf(stderr, Hit enter to continue, s to stop, q to quit immediately...); fgets(str, 80, stdin); fputs(str, stderr); ch = str[0]; if (ch == 's' || ch == 'S') { bStop = TRUE; }

Re: file lock() and share.exe

2003-09-12 Thread Bart Oldeman
On Thu, 11 Sep 2003, John Charlton wrote: I have a dos application compiled with djgpp compiler in dosemu. A call to the lock() function which works in native freedos (beta 8) always returns -1 (failed) in dosemu. I first used dosemu 1.0.2.0 which installs with SuSE Linux 8.2 distribution.

Re: file lock() and share.exe

2003-09-12 Thread John Charlton
On Friday 12 September 2003 06:21, Bart Oldeman wrote: On Thu, 11 Sep 2003, John Charlton wrote: I have a dos application compiled with djgpp compiler in dosemu. A call to the lock() function which works in native freedos (beta 8) always returns -1 (failed) in dosemu. I first used dosemu