Message-ID: <357A76E9.48325738@net4you.co.at> Date: Sun, 07 Jun 1998 13:18:02 +0200 From: Seawolf MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: FP_OFF / FP_SEG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.177.154.98 Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Could anyone please port the following function written using Borland C to DJGPP ? I don't know how to convert FP_OFF() and FP_SEG() ! void mkdir_lfn( void) { union REGS r; struct SREGS seg; r.x.ax = 0x7139; r.x.dx = FP_OFF( dir); seg.ds = FP_SEG( dir); int86x( 0x21, &r, &r, &seg); } -- S E A W O L F email: seawolf AT net4you DOT co DOT at ICQ: 12476379 Visit my Cthugha site at: http://members.forfree.at/~cthugha