File: sh-libs.4th

package info (click to toggle)
pfe 0.9.14-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,436 kB
  • ctags: 2,439
  • sloc: ansic: 14,095; sh: 438; asm: 113; makefile: 70; perl: 13
file content (26 lines) | stat: -rw-r--r-- 740 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\
\ sh_libs.4th ---	Library code for pfe, Linux' shared libraries.
\			By Kevin Haddock.
\
\ (duz 22May94)
\

\ =======================================================================
\ Shared libraries for Linux
\ =======================================================================

S" HOST-SYSTEM" ENVIRONMENT? DROP S" Linux" COMPARE 0= [IF]

\ creates shared library variable
: GOT ( N _)   CREATE ,  DOES> ( a)  @ @ ;

\ creates shared library call
: PLT ( N _)   CREATE ,  DOES> ( ... cw a - res)  @ CALL-C ;

[THEN]

\ =======================================================================
\ end of sh-libs.4th
\ =======================================================================

CR .( Linux shared library calls loaded. )