Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!udel!rminnich From: rminnich@udel.EDU (Ron Minnich) Newsgroups: comp.unix.xenix Subject: question on ldtalloc() (kernel function) Message-ID: <2266@louie.udel.EDU> Date: 25 Apr 88 19:05:21 GMT Reply-To: rminnich@udel.EDU (Ron Minnich) Organization: University of Delaware Lines: 18 I have a device driver that allocates ldt's. I am using ldtalloc(). This function takes two parameters: 1) starting ldt number 2) number to allocate. If the starting ldt number is 0, then it gives you the next free ldt. well, ..., no matter what i hand it, e.g., i tried: ldtalloc(0,1); ldtalloc(0,2); ldtalloc(0x900,2); it always returns 1428 ! All subsequent calls to ldtalloc return 1428, which is wrong, wrong, wrong. This is v2.2.1 SCO xenix Anybody got this to work yet? ron -- ron (rminnich@udel.edu)