cvs.delorie.com/djgpp/doc/libc/libc_202.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

__dpmi_allocate_ldt_descriptors

Syntax

 
#include <dpmi.h>

int __dpmi_allocate_ldt_descriptors(int count);

Description

Please refer to the DPMI Specification (see section DPMI Specification) for details on DPMI function call operation. Also see the DPMI Overview (see section DPMI Overview) for general information.

DPMI function AX = 0x0000

Allocates count descriptors.

Return Value

-1 on error, else the first descriptor. Use __dpmi_get_selector_increment_value (see section __dpmi_get_selector_increment_value) to figure out the remaining selectors.

Portability

ANSI/ISO C No
POSIX No

Example

 
short sel = __dpmi_allocate_ldt_descriptors(1);


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004