On Thu, 13 Jan 2005, Muli Ben-Yehuda wrote:

On Thu, Jan 13, 2005 at 08:35:20AM +0200, yakoub abaya wrote:
when doing man signal :
there is :
        typdef void (*sighandler_t)(int);
Q:what is this typdef ?, i don't understand it

It says that sighandler_t has the type "pointer to a function that accepts an int and returns void". Consult a good C book for more details.

Or come to the "C without a spoon" lectures, we talk about typedef on 7/2 and on function pointers (and passing them to functions) on 21/2.


Orna.
--
Orna Agmon http://vipe.technion.ac.il/~ladypine/
ICQ: 348759096

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Reply via email to