runso Aktuell Seminare Reports Homepage Software
printer / text mode version
university-logo
draheim
@informatik.hu-berlin.de

Software
-Sourceforge
- about the autor
- pTA study
- largefile *
- AutoFS howto 2
 
Bigger Projects
- PFE Forth *
- AC-Archive *
- ZzipLib *
- XML/g *
- C.L.F.R. *
- XM Tool *
 
Smaller Projects
- SDLstretch *
- errno(1)
- glib-man
- gstdint
- wine-vol-a
 
Older Projects
- MPEG split *
- XFCE *
- htm1-pp
- cc-headers
- runso
- substruct
- submorph
- xwpe
- xfce 3


sitemap


-guidod-pygtk
sitemap             *offsite link

2006-11-07
(C) Guido Draheim
guidod@gmx.de

 
generated by mksite.sh

runso

  • Synopsis
  • Description
  • Example
  • Options
  • Download
  • Bugs
  • Copyright

Synopsis

runso [-Llibpath -llib]... libs_main [args]...

Description

The runso program will try to dlopen(3) the given libs (in the libpaths and when successful it will lookup the given dlsym(libs_main) and call it just like a normal C programs main function. The libs are all optional. If the libs_main is not accessible after initializations, an implicit -llibs is deduced from the given main-function by a simple subtraction of _main from the end of the symbol (if named like that).

Example

runso my_toast_main -D/dev/toaster
will open <libmy_toast.so> as found in the standard libpath and call the symbol <my_toast_main> with the argc/argv set to
argc= 2 argv[0]="toast_main" argv[1]="-D/dev/toaster"

Options

-L<path> adds the given path to the search path of shared objects
-l<obj> will dlopen the libobj.so as found in the search path

Download

Just snapshots so far, e.g. pub/runso-0.1-000417.tar.bz2 or pub/runso-0.1-000417.tar.gz The latest snapshots can be found here in the pub directory.

Bugs

  • -L isn't working yet...

Copyright

(C) 2000 Guido Draheim <guidod@gmx.de>

The programs is freeware according to the rules of the LGPL -
the GNU Lesser General Public License


(C) Apr'00 Guido Draheim runso