User space with glibc and gcc: void *array[128]; // 128 is just an arbitrary number. size_t size; size = backtrace (array, 128); backtrace_symbols_fd (array, size, fd)); Set up fd as desired. Haiku OS - Free, Open, and Fantastic: http://haiku-os.org/ Help Me Internet, You're My Only Hope! http://stackoverflow.com/users/11032/matgeek Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline