This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


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

ctime_r


Hi

ctime_r is incorrectly defined in pthread.h. Please change _clock to _tm or
vice versa.

#define ctime_r( _clock, _buf ) \
 ( strcpy( (_buf), ctime( (_tm) ) ),  \
          (_buf) )

Regards Magnus


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