I have used typedef in my C programs previously many times.
So it is not new to me.
I was reading through a header file
linux-2.6/include/net/iw_handler.h
and found following use of typedef

typedef int (*iw_handler)(struct net_device *dev, struct iw_request_info *info,
                          union iwreq_data *wrqu, char *extra);

I was not able to understand what does above typedef is doing?
Or what is the programmer trying to achieve with typedef definition.

Re: not clear with typedef 80 80

You might go through a function pointer tutorial.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.