Date: Wed, 10 Mar 1999 19:50:45 GMT From: Junior System Administrator Message-Id: <199903101950.TAA01519@basil.restall.net> To: djgpp AT delorie DOT com Subject: File modes Reply-To: djgpp AT delorie DOT com Hi, all. Two questions here (one slightly off-topic): 1). Can I lock regions of memory in DJGPP without using assembly ? 2). Is there a portable way (conforming to the ANSI standard) to get the mode of an already open file (opened with 'fopen()'). Is there a function, or a field within the 'FILE *' type, that can tell me ? Thanks in advance, Pete =:-) -- /*************** [burdock] ****************/ /* ____/| pete AT restall DOT net */ /* \ o.O| http://www.iirc.net/petes/ */ /* =(_)= */ /* U */ /******************************************/ /******************************* [Windoze 98] ********************************/ /* Windows 98: n. (Alex Satrapa). */ /* 64 bits (and pieces) of bugs (and fixes) and featuritis tacked on to 32 */ /* bit extensions and a graphical shell for a 16 bit patch to an 8 bit */ /* operating system originally coded for a 4 bit microprocessor, written */ /* by a 2 bit company that can't stand 1 bit of competition, and has not a */ /* bit of respect for their customers. */ /*****************************************************************************/