delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/14/14:49:17

From: Paula Sanchez <psanchez AT cs DOT montana DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: fcntl
Date: Fri, 14 Sep 2001 12:27:46 -0600
Organization: Montana State University
Lines: 27
Message-ID: <Pine.OSF.4.21.0109141213110.29068-100000@esus.cs.montana.edu>
NNTP-Posting-Host: esus.cs.montana.edu
Mime-Version: 1.0
X-Trace: netra.msu.montana.edu 1000492069 25167 153.90.199.47 (14 Sep 2001 18:27:49 GMT)
X-Complaints-To: usenet AT news DOT montana DOT edu
NNTP-Posting-Date: 14 Sep 2001 18:27:49 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello everyone,

I started using DJGPP this week. I am trying to block, unblock and check
the lock in a file with the function fcntl.

I am booting DOS version Windows 95 4.00.1111 and using the DOS DJGPP GCC
2.953.

It is defined in libc and I assumed that is linked by default.

I am getting this error for any of the tries of locking, unlocking and
checking the lock:
Error locking: Function not implemented (ENOSYS)

I have been told by DJ that it should work. Maybe I am not linking it
right.  I tried -lc just in case too.

I will appreciate any help you could give me.

Thanks in advance,

Paula Sanchez
psanchez AT cs DOT montana DOT edu
EPS 111 Ph.: 406-994-7801

The fear of God is the beginning of knowledge.  St. Ivo

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019