This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

typedef of timestruc_t in sys/types.h


I'm attaching a patch to newlib's sys/types.h to add two new typedefs:

typedef struct timespec timespec_t;
typedef struct timespec timestruc_t;

(or equivalent: see patch).

I've done this in support of a patch to cygwin's stat.h to provide
sub-second file times. The typedef's are not essential but seem to be
standard elsewhere for this feature.

I hope this is acceptable. Thanks.

// Conrad

Changelog message:
* types.h (timespec_t timestruc_t): New typedefs.

Attachment: newlib.patch
Description: Binary data


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