delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/19/18:30:10

Date: Mon, 19 Jan 1998 12:26:33 -0800 (PST)
Message-Id: <199801192026.MAA04252@adit.ap.net>
Mime-Version: 1.0
To: "Mercilus" <jerimiah AT nortel DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Record Pool Questions?

At 03:04  1/19/1998 GMT, Mercilus wrote:
>	I have some money to burn that I would rather us to make more money out of
>in a certain way.  I am seriously thinking of starting my own record pool
>of nothing but hip hop, R&B, reggae, and house music.  If some one could
>let me know how to start my own record pool I would greatly appreciate it
>and would be glad to lend my assistance in any way that I can.  Thanks in
>advance. 
This is *completely* off topic here.

Nate Eldredge
eldredge AT ap DOT net



 i'm
>stuck and i haven't got a clue, also let me know if i have to do something
>else due to the fact that its dpmi :). If someone could show me how to use
>
>__dpmi_get_free_ memory_information(__dpmi_free_mem_info *_info)      
>
>and printf it i would be grateful!
This works, and is, to me, the obvious way to do it.

#include <dpmi.h>

int main(void)
{
  __dpmi_free_mem_info i;
  __dpmi_get_free_memory_information(&i);
  printf("Largest available free block = %lu\n",
	 i.largest_available_free_block_in_bytes);
  /* I'd imagine you can figure out the rest */
  return 0;
}

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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