Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Ctime


  
  ctime
The ctime() function shall convert the time pointed to by clock, representing time in seconds since the Epoch, to local time in the form of a string.
The asctime(), ctime(), gmtime(), and localtime() functions shall return values in one of two static objects: a broken-down time structure and an array of char.
The ctime_r() function shall convert the calendar time pointed to by clock to local time in exactly the same form as ctime() and put the string into the array pointed to by buf (which shall be at least 26 bytes in size) and return buf.
www.opengroup.org /onlinepubs/007904875/functions/ctime.html   (431 words)

  
 ctime(3)
The function uses the following members of the tm structure: tm_wday tm_mon tm_mday tm_hour tm_min tm_sec tm_year The ctime function converts the time_t variable pointed to by the timer parameter to a string with the five-field format.
RETURN VALUES When any of the asctime, ctime, gmtime, or localtime functions complete successfully, the return value may point to static storage, which may be overwritten by subsequent calls to these functions.
Upon successful completion, the asctime, asctime_r, ctime, and ctime_r functions return a pointer to a character string that expresses the time in a fixed format.
www.uwm.edu /cgi-bin/IMT/wwwman?topic=ctime(3)&msection=3f   (930 words)

  
 Online Man Page   (Site not responding. Last check: 2007-10-26)
The fields are in constant width: Fri Sep 13 00:00:00 1986\n\0 The ctime() function is equivalent to: asctime(localtime(clock)) The ctime(), asctime(), gmtime(), and localtime() functions return values in one of two thread-specific data objects: a broken-down time structure and an array of char.
The ctime(), local- time(), mktime(), and strftime() functions also update these external variables as if they had called tzset() at the time specified by the time_t or struct tm value that they are converting.
The asctime(), ctime(), gmtime(), and localtime() functions are safe to use in multithread applications because they employ thread-specific data.
www.cs.duke.edu /csl/docs/man.php?section=3C&topic=ctime   (1388 words)

  
 [No title]
DESCRIPTION The asctime(), asctime_r(), ctime(), difftime(), gmtime(), gmtime_r(), localtime(), localtime_r(), mktime(), and tzset() functions are used to convert time units to strings, to store converted time units for subsequent processing, and to convert stored time information to other time units.
The ctime() function converts the time in seconds since the Epoch, pointed to by the timer parameter, to a character string.
AES Support Level: Full use (asctime(), ctime(), difftime(), gmtime(), localtime(), mktime(), tzset()) RETURN VALUES When any of the asctime(), ctime(), gmtime(), or localtime() functions complete successfully, the return value may point to static storage, which may be overwritten by subsequent calls to these functions.
www.sandia.gov /ASCI/Red/usage/paragon/man/man3/ctime.3.html   (1329 words)

  
 ctime, localtime, gmtime, mktime, difftime, asctime, or tzset Subroutine
The ctime subroutine adjusts for the time zone and daylight saving time, if it is in effect.
The asctime subroutine converts a tm structure to a 26-character string of the same format as ctime.
The ctime and asctime subroutines return a pointer to a 26-character string.
www.unet.univie.ac.at /aix/libs/basetrf1/ctime.htm   (841 words)

  
 ctime   (Site not responding. Last check: 2007-10-26)
The ctime() function converts the time pointed to by clock, representing time in seconds since the Epoch, to local time in the form of a string.
The asctime(), ctime(), gmtime() and localtime() functions return values in one of two static objects: a broken-down time structure and an array of char.
The ctime() function returns the pointer returned by asctime() with that broken-down time as an argument.
www.massey.ac.nz /~mjjohnso/notes/59102/docs/ctime.html   (258 words)

  
 POSIX Manual Page - ctime
The ctime() function shall convert the time pointed to by clock, representing time in seconds since the Epoch, to local time in the form of a string.
The asctime(), ctime(), gmtime(), and localtime() functions shall return values in one of two static objects: a broken-down time structure and an array of char.
The ctime_r() function shall convert the calendar time pointed to by clock to local time in exactly the same form as ctime() and put the string into the array pointed to by buf (which shall be at least 26 bytes in size) and return buf.
www.linux-documentation.com /en/man/man3p/ctime.html   (449 words)

  
 QNX Developer Support
The ctime() function places the result string in a static buffer that's reused each time ctime() or asctime() is called.
Whenever the ctime() or ctime_r() functions are called, the tzset() function is also called.
The asctime() and ctime() functions place their results in a static buffer that's reused for each call to asctime() or ctime().
www.qnx.com /developers/docs/6.3.0/neutrino/lib_ref/c/ctime.html   (286 words)

  
 KernelTrap | Your source for current kernel news
This led into a very interesting discussion as to whether or not a file's ctime actually should be updated upon a rename.
I also noticed that for example ext3 updates the affected file's ctime upon rename whereas ReiserFS doesn't, so I'm thinking this causes tar to believe that the file existed before the first backup was taking under the new name, and as a result it doesn't back it up during the second backup.
It may be technically correct to not update ctime but that doesn't mean that it is incorrect to update it either.
www.kerneltrap.org /comment/reply/1007   (2278 words)

  
 ctime - Cprogramming.com C and C++ Function Lookup
ctime - Cprogramming.com C and C++ Function Lookup
Explanation: Use ctime to convert a time_t variable into a string of 26 characters in the format Fri Jan 28 09:12:21 2000\n\0 where \n and \0 are the newline and terminating null character.
The string it returns will be overwritten unless you copy the string to another variable before calling ctime again.
www.cprogramming.com /fod/ctime.html   (98 words)

  
 CodeCogs: time.h ctime - C / C++ Reference Page   (Site not responding. Last check: 2007-10-26)
The functions ctime, gmtime and localtime all take as an argument a time value representing the time in seconds since the Epoch (00:00:00 UTC, January 1, 1970; see time (3)).
The ctime function adjusts the time value for the current time zone in the same manner as localtime, and returns a pointer to a 26-character string of the form:
The asctime, ctime, difftime, gmtime, localtime, and mktime functions conform to and conform to provided the selected local timezone does not contain a leap-second table (see reference:zic (8)).
www.codecogs.com /reference/time.h/ctime.php?alias=   (842 words)

  
 The UNIX Forums - mtime, ctime, and atime
There does seem to be some confusion between mtime and ctime though.
ctime is the inode change time while mtime is the file modification time.
So mtime is a little bit like the date on a letter while ctime is like the postmark on the envelope.
www.unix.com /archive/index.php/t-20526.html   (679 words)

  
 ctime(3) - phpMan
The asctime() function converts the broken-down time value tm into a string with the same format as ctime().
The return value points to a statically allocated string which might be overwritten by subsequent calls to any of the date and time functions.
NOTES The four functions asctime(), ctime(), gmtime() and localtime() return a pointer to static data and hence are not thread-safe.
www.chedong.com /phpMan.php/man/ctime/3   (752 words)

  
 ctime, atime, and mtime   (Site not responding. Last check: 2007-10-26)
It is important to distinguish between a file or directory's change time (ctime), access time (atime), and modify time (mtime).
ctime -- In UNIX, it is not possible to tell the actual creation time of a file.
It is needed by the dump command to determine if the file needs to be backed up.
www.brandonhutchinson.com /ctime_atime_mtime.html   (165 words)

  
 Zugg Software :: View topic - %ctime is always 0   (Site not responding. Last check: 2007-10-26)
%ctime the number of seconds you have been connected to the MUD
It remains at 0 before your first connection attempt since opening the program, and between your first logoff/disconnect and subsequent login it will remain at whatever value it was when you went offline.
It was Achaea if I remember right, just connected and typed "#say %ctime" and it worked right off.
forums.zuggsoft.com /phpbb/viewtopic.php?p=105604   (514 words)

  
 Adventurer Wannabe » The fallacy of ctime   (Site not responding. Last check: 2007-10-26)
It seems that the UNIX community as a whole believes that ctime stands for “creation time”, and only gets set when a file is initially created, or manually tampered with using ‘touch’.
ctime: ctime stands for “change time”, which refers to the last time the contents of the inode for a file has changed, rather than mtime, which refers to the last time the data for a file has changed.
If you chmod a file, the ctime for that file will change, or at least on Linux, Mac OS X, and Solaris (and anything else claiming to be POSIX).
toadstool.se /journal/2006/01/11/the-fallacy-of-ctime   (1176 words)

  
 Intrp1003.13 - Show email archive - Show email
The ctime() specification should also be changed to return NULL if unsuccessful, because it is specified as being equivalent to: asctime(localtime(time)) If asctime() can return NULL, then ctime() can too.
Action: page 243 line 8051-8053 section ctime() objection Change: The ctime() function shall convert the time pointed to by clock, representing the time in seconds since the Epoch, to local time in the form of a string.
It shall be equivalent to: asctime(localtime(clock)) to: The ctime() function shall convert the time pointed to by clock, representing the time in seconds since the Epoch, to local time in the form of a string.
www.pasc.org /intrp1003.13/show_mail.tpl?CALLER=show_archive.tpl&source=L&listname=austin-review-l&id=1729   (357 words)

  
 ctime, _ctime
The ctime() functions convert the calendar time pointed to by timer to local time, in the form of a string.
The ANSI function ctime() places the result string in a static buffer that is re-used each time ctime() or asctime() is called.
Whenever the ctime() functions are called, the tzset() function is also called.
www.lfbs.rwth-aachen.de /~stefan/qnx/src/ctime.html   (229 words)

  
 PRB: CTime DDX Routine for CRecordView Date Fields
In this dialog box the Member Variable Name combo box will not contain any of the CRecordSet derived class's CTime member variables associated with the date/time fields of the data source, and therefore no date/time field can be associated with the edit control.
A potential source of errors can be attempting to force a CTime object into an edit control using a previously existing DDX_FieldText() function call within the CRecordView derived class's DoDataExchange().
This is because a CTime object represents both a date and a time of day and there is no simple conversion that represents both of these in an edit control.
support.microsoft.com /kb/110719   (877 words)

  
 Technical Reference: Base Operating System and Extensions, Volume 1
ctime, localtime, gmtime, mktime, difftime, asctime, or tzset Subroutine
Attention: Do not use the ctime, localtime, gmtime, or asctime subroutine in a multithreaded environment. See the multithread alternatives in the ctime_r (ctime_r, localtime_r, gmtime_r, or asctime_r Subroutine), localtime_r, gmtime_r, or asctime_r subroutine article.
The tzset subroutine sets the timezone, daylight, and tzname external variables to reflect the setting of TZ. The tzset subroutine is called by ctime and localtime, and it can also be called explicitly by an application program.
www.ncsa.uiuc.edu /UserInfo/Resources/Hardware/IBMp690/IBM/usr/share/man/info/en_US/a_doc_lib/libs/basetrf1/ctime.htm   (830 words)

  
 CTime::CTime (ATL/MFC)   (Site not responding. Last check: 2007-10-26)
For example, if you are in New York and create a CTime object by passing a parameter of 0, CTime::GetMonth will return 12.
A SYSTEMTIME structure to be converted to a date/time value and copied into the new CTime object.
A FILETIME structure to be converted to a date/time value and copied into the new CTime object.
msdn.microsoft.com /library/en-us/vclib/html/_mfc_CTime.3a3a.CTime.asp?frame=true   (665 words)

  
 Man Page ctime.3f   (Site not responding. Last check: 2007-10-26)
For example, the program: character*24 ctime integer*4 time print*, ctime(time()) end prints the following: Tue Sep 8 17:01:03 1998 ltime and gmtime split system time into various time units for the local time zone (ltime) or as GMT (gtmtime).
64-bit versions of ctime, ltime, and gmtime are provided.
Compiling for 64-bit environments means compiling the program with the -xarch=v9 option and running the program on a 64-bit SPARC platform in a 64-bit Solaris operating environment.
www.nd.edu /~hpcc/solaris_opt/SUNWspro.forte6u2/SUNWspro/WS6U2/lib/locale/C/html/mr/man3f/ctime.3f.html   (293 words)

  
 asctime
The ctime(), gmtime() and localtime() functions all take an argument of data type time_t which represents calendar time.
The ctime() function converts the calendar time timep into a string of the form "Wed Jun 30 21:49:08 1993\n" The abbreviations for the days of the week are `Sun', `Mon', `Tue', `Wed', `Thu', `Fri', and `Sat'.
The asctime() function converts the broken-down time value timeptr into a string with the same format as ctime().
www.phim.unibe.ch /comp_doc/c_manual/C/MAN/asctime.htm   (518 words)

  
 ctime(3) - Plan 9 from User Space
ctime, localtime, gmtime, asctime, tm2sec, timezone – convert date and time
Ctime converts a time clock such as returned by time(3) into ASCII (sic) and returns a pointer to a 30-byte string in the following form.
To avoid name conflicts with the underlying system, ctime, localtime, gmtime, asctime, and tm2sec are preprocessor macros defined as p9ctime, p9localtime, p9gmtime, p9asctime, and p9tm2sec; see intro(3).
swtch.com /plan9port/man/man3/ctime.html   (216 words)

  
 ctime - C++ Reference
C++ : Reference : C Library : ctime (time.h) : ctime
Converts the time_t object pointed by timer to a C string containing a human-readable version of the corresponding local time and date.
/* ctime example */ #include #include int main () { time_t rawtime; time (andrawtime); printf ("The current local time is: %s", ctime (andrawtime)); return 0; }
www.cplusplus.com /reference/clibrary/ctime/ctime.html   (143 words)

  
 SMAUG : SMAUG coding : Strange bug with Ctime
If you look at how ctime is implemented, it uses a static buffer and returns a pointer to that.
it will evaluate the first ctime, return a pointer to the static buffer, then it will evaluate the second ctime, and return a pointer to the same static buffer.
ctime_r is the same as ctime except that it takes a second parameter, which is the buffer in which data is stored.
www.gammon.com.au /forum/?id=6381   (743 words)

  
 ctime
Возвращаемое Функция ctime возвращает указатель на символьную значение строку, содержащую дату и время.
Данная строка является статической переменной, которая перезаписывается при каждом вызове функции ctime.
Переносимость ctime поддерживается на системах UNIX и определена в ANSI C. Смотрите также asctime, daylight(переменная), difftime, ftime, getdate, gmtime, localtime, settime, time, timezone(переменная), tzset.
www.codenet.ru /progr/cpp/spr/066.php   (173 words)

  
 Чистка логов Апача - SecurityLab
Для многих редкоизменяемых файлов ctime обычно указывает на дату их создания.
Если mtime является более ранней датой чем ctime, то это наталкивает на определённые подозрения.
Допустим, у нас имеется корневая файловая система ext2 на /dev/hda2 и нам необходимо изменить ctime атрибут файла /etc/passwd.
www.securitylab.ru /forum/read.php?FID=16&TID=28692   (555 words)

  
 CTime::CTime   (Site not responding. Last check: 2007-10-26)
So if you create a CTime object by passing a parameter of 0, CTime::GetMonth will return 12 if you are in New York.
Specifies a SYSTEMTIME structure to be converted to a date/time value and copied into the new CTime object.
Specifies a FILETIME structure to be converted to a date/time value and copied into the new CTime object.
msdn2.microsoft.com /en-us/library/ms908991.aspx   (579 words)

  
 imapd changing ctime
We have observed that the UW imapd is changing the ctime on mail folders on every access, even when the folder is not modified.
This ends up causing a bad interaction with our incremental backups which are based on ctime rather than mtime.
Every time they are accessed, the ctime changes so they are being backed up during the incremental backups.
www.mail-archive.com /c-client@u.washington.edu/msg01656.html   (132 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.