This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__P


Am trying to compile some threads on Red Had Linux and see that all the
routines in pthreads.h are prefixed with __P for example:

extern int pthread_create __P ((pthread_t *__thread,
                __const pthread_attr_t *__attr,
                void *(*__start_routine) (void *),
                void *__arg));

Questions:

What does __P mean?

How do I call pthread_create?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]