Filling in a struct timespec with the current date?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcoPomaOp0FenqvISxW70Df+8up4og== Thread-topic: Filling in a struct timespec with the current date? I'm trying to use struct timespec, and I want to initialize it to the current date (sec & nanosec). Is there a function call that I can call that will do so, or do I have to roll my own? Note that I'm looking for an API that will fill in a timespec that I pass in, not create a new one on the heap. Thanks, Cem Karan _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Karan, Cem (Civ, ARL/CISD)