Fra ANSI C standarden: 7.23.2.5 The time function Synopsis #include <time.h> time_t time(time_t *timer); Description The time function determines the current calendar time. The encoding of the value is unspecified. Returns The time function returns the implementation’s best approximation to the current calendar time. The value (time_t)-1 is returned if the calendar time is not available. If timer is not a null pointer, the return value is also assigned to the object it points to.
Efter at time_t (og alle de andre _t) bliv taget i brug er den den konkrete type impelemetions specifik og man kan derfor ikke antage noget om typen mm. man bruger de dertil beregnede funktioner.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.