Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Newsgroups | comp.lang.c, comp.lang.c++, comp.unix.programmer, comp.lang.javascript, comp.lang.lisp |
| Subject | Re: avcall, callback, trampoline, vacall, etc |
| Date | 2012-10-26 14:08 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <508AD1A7.5060700@verizon.net> (permalink) |
| References | <dfa26195-ed53-41e7-afb6-6f59d556a154@3g2000yqn.googlegroups.com> <k6dvjn$r9j$1@dont-email.me> <bde60f28-41e5-465a-862f-81844bb2d428@j12g2000vbm.googlegroups.com> |
Cross-posted to 5 groups.
On 10/26/2012 01:16 PM, gnuist007@hotmail.com wrote: ... > For starters, I always start with google and wikipedia. I could not > find any examples. > > I am asking here so that you guys can give me whetted and good > examples for a newbie. I pointed out that qsort() and bsearch() are good simple examples of how callbacks are used, and I recommended searching Wikipedia.<http://en.wikipedia.org/wiki/Callback_%28computer_programming%29> has two completely filled out toy examples of code using callback functions. Joe Pfeiffer pointed you at a tutorial for FUSE, which is a more complicated system making use of callbacks. Les Cargill gave you a basic template for implementing callbacks in C. Callback are a relatively simple concept. Everything that makes a callback be a callback is present in both Wikipedia's examples and in Les Cargill's template. If there's something more that you need, that wasn't provided by those examples, then you're looking for something more than just a callback. Perhaps you could explain in more detail what you're looking for that was missing from these examples?
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
avcall, callback, trampoline, vacall, etc gnuist007@hotmail.com - 2012-10-25 12:24 -0700
Re: avcall, callback, trampoline, vacall, etc James Kuyper <jameskuyper@verizon.net> - 2012-10-25 16:04 -0400
Re: avcall, callback, trampoline, vacall, etc fmassei@gmail.com - 2012-10-25 13:08 -0700
Re: avcall, callback, trampoline, vacall, etc James Kuyper <jameskuyper@verizon.net> - 2012-10-25 16:12 -0400
Re: avcall, callback, trampoline, vacall, etc fmassei@gmail.com - 2012-10-25 13:23 -0700
Re: avcall, callback, trampoline, vacall, etc Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-10-25 20:01 -0600
Re: avcall, callback, trampoline, vacall, etc Gene Wirchenko <genew@ocis.net> - 2012-10-25 14:55 -0700
Re: avcall, callback, trampoline, vacall, etc Paavo Helde <myfirstname@osa.pri.ee> - 2012-10-25 15:46 -0500
Re: avcall, callback, trampoline, vacall, etc "James K. Lowden" <jklowden@speakeasy.net> - 2012-10-25 18:53 -0400
Re: avcall, callback, trampoline, vacall, etc Öö Tiib <ootiib@hot.ee> - 2012-10-26 13:18 -0700
Re: avcall, callback, trampoline, vacall, etc fmassei@gmail.com - 2012-10-26 13:33 -0700
Re: avcall, callback, trampoline, vacall, etc Cortez <relativeflux@hotmail.co.uk> - 2012-10-25 13:47 -0700
Re: avcall, callback, trampoline, vacall, etc Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-10-25 20:18 -0600
Re: avcall, callback, trampoline, vacall, etc gnuist007@hotmail.com - 2012-10-26 10:11 -0700
Re: avcall, callback, trampoline, vacall, etc Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-27 18:17 +0000
Re: avcall, callback, trampoline, vacall, etc Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-10-27 21:35 -0600
Re: avcall, callback, trampoline, vacall, etc Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-29 12:38 +0000
Re: avcall, callback, trampoline, vacall, etc "Pascal J. Bourguignon" <pjb@informatimago.com> - 2012-10-28 18:56 +0100
Re: avcall, callback, trampoline, vacall, etc Rivka Miller <rivkaumiller@gmail.com> - 2012-11-05 16:28 -0800
Re: avcall, callback, trampoline, vacall, etc Les Cargill <lcargill99@comcast.com> - 2012-10-26 07:27 -0500
Re: avcall, callback, trampoline, vacall, etc gnuist007@hotmail.com - 2012-10-26 10:16 -0700
Re: avcall, callback, trampoline, vacall, etc Les Cargill <lcargill99@comcast.com> - 2012-10-26 12:42 -0500
Re: avcall, callback, trampoline, vacall, etc James Kuyper <jameskuyper@verizon.net> - 2012-10-26 14:08 -0400
csiph-web