www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/07/11:00:48

Message-ID: <357A76E9.48325738@net4you.co.at>
Date: Sun, 07 Jun 1998 13:18:02 +0200
From: Seawolf <seawolf AT net4you DOT co DOT at>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: FP_OFF / FP_SEG
NNTP-Posting-Host: 194.177.154.98
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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


- Raw text -


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