[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: idl process id
- To: "Eric J. Korpela" <korpela(at)islay.ssl.berkeley.edu>
- Subject: Re: idl process id
- From: David Foster <foster(at)bial1.ucsd.edu>
- Date: Thu, 23 Apr 1998 14:55:36 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Univ. of Calif San Diego
- References: <6hgr8e$qs3$1@nnrp1.dejanews.com> <6hgtco$bmf$1@agate.berkeley.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:10791
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?
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~