home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!sun-barr!ames!fxgrp!franco
- From: franco@fx.com (Frank Minjarez)
- Subject: using kernex.exp
- Message-ID: <1992Sep11.230555.12331@fx.com>
- Keywords: linking
- Sender: news@fx.com
- Organization: FXD/Telerate, Mountain View, CA
- Date: Fri, 11 Sep 1992 23:05:55 GMT
- Lines: 14
-
- This is probably a bonehead question so hopefully I'll get a lot replies.
-
- I'm trying to use the kernel extension "pinu" subroutine in an application
- to lock a mapped file into memory. However, the pinu subroutine call causes
- a segmentation violation. My compile/link looks like this:
-
- cc -c test.c
- ld -o test test.o -bI:/lib/kernex.exp
-
- If this is totally wrong and I can't link an application like this then
- does anyone know of an AIX equivalent to mlock.
-
- thanks,
- --f
-