[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: idl process id

Eric J. Korpela wrote:
> If you really feel lucky you can try something like......
> IDL> ; check your libc version before doing this!
> IDL> result=call_external('/lib/libc.so.1.9','getpid')
> IDL> print,result
>        23847

Whoa! Does this work in any general sense? Do you have suggestions
for getting references on which routines are available in which
libraries? How "safe" is this?


    David S. Foster         Univ. of California, San Diego
     Programmer/Analyst     Brain Image Analysis Laboratory
     foster@bial1.ucsd.edu  Department of Psychiatry
     (619) 622-5892         8950 Via La Jolla Drive, Suite 2240
                            La Jolla, CA  92037