• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Filling in a struct timespec with the current date?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filling in a struct timespec with the current date?


  • Subject: Re: Filling in a struct timespec with the current date?
  • From: Esteban Bodigami <email@hidden>
  • Date: Tue, 28 Jul 2009 22:08:24 -0600

Karan, Cem (Civ, ARL/CISD) <email@hidden>
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

i want the time in kilosecs...

--
Esteban Bodigami Vincenzi
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Filling in a struct timespec with the current date?
      • From: Eli Bach <email@hidden>
References: 
 >Filling in a struct timespec with the current date? (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)

  • Prev by Date: RE: Filling in a struct timespec with the current date?
  • Next by Date: Re: Filling in a struct timespec with the current date?
  • Previous by thread: RE: Filling in a struct timespec with the current date?
  • Next by thread: Re: Filling in a struct timespec with the current date?
  • Index(es):
    • Date
    • Thread