Article View: pl.comp.os.linux.programowanie
Article #72763Re: Dokładniejszy czas niż 4 bajtowy
From: Borneq
Date: Sat, 21 Nov 2015 20:40
Date: Sat, 21 Nov 2015 20:40
16 lines
1471 bytes
1471 bytes
W dniu 2015-11-21 o 21:34, Sebastian Biały pisze: > On 2015-11-21 21:29, Borneq wrote: >> czy gettimeofday() radzi sobie z rokiem 2038? > > To zależy jak *twój* system definiuje time_t. > To nie zawsze 4 bajty? System to np. Ubunty,Mint czy Debian, w MinGW w types.h jest : #ifndef _USE_32BIT_TIME_T typedef __time64_t time_t; #else typedef __time32_t time_t; #endif /* !_USE_32BIT_TIME_T */ Pytanie, jakiej długości zwraca gettimeofday() ?
Technical Details
Message-ID:
<n2qkri$sh2$1@node1.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<n2qi8t$tsn$1@node2.news.atman.pl> <n2qj7e$qer$2@node1.news.atman.pl> <n2qk6d$ri3$1@node1.news.atman.pl> <n2qkgr$b7$1@node2.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.os.linux.programowanie Subject: Re: Dokładniejszy czas niż 4 bajtowy Date: Sat, 21 Nov 2015 21:40:26 +0100 Organization: ATMAN - ATM S.A. Lines: 16 Message-ID: <n2qkri$sh2$1@node1.news.atman.pl> References: <n2qi8t$tsn$1@node2.news.atman.pl> <n2qj7e$qer$2@node1.news.atman.pl> <n2qk6d$ri3$1@node1.news.atman.pl> <n2qkgr$b7$1@node2.news.atman.pl> NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 X-Trace: node1.news.atman.pl 1448138418 29218 91.239.205.105 (21 Nov 2015 20:40:18 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Sat, 21 Nov 2015 20:40:18 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <n2qkgr$b7$1@node2.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit