typedef of timestruc_t in sys/types.h

Conrad Scott Conrad.Scott@dsl.pipex.com
Wed Jun 5 17:52:00 GMT 2002


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib.patch
Type: application/octet-stream
Size: 687 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20020605/d4aeddc0/attachment.obj>


More information about the Newlib mailing list