00001 /** 00002 * @file op_get_time.h 00003 * Get current time as a string 00004 * 00005 * @remark Copyright 2002 OProfile authors 00006 * @remark Read the file COPYING 00007 * 00008 * @author John Levon 00009 * @author Philippe Elie 00010 */ 00011 00012 #ifndef OP_GET_TIME_H 00013 #define OP_GET_TIME_H 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 /** 00020 * op_get_time - get current date and time 00021 * 00022 * Returns a string representing the current date 00023 * and time, or an empty string on error. 00024 * 00025 * The string is statically allocated and should not be freed. 00026 */ 00027 char * op_get_time(void); 00028 00029 #ifdef __cplusplus 00030 } 00031 #endif 00032 00033 #endif /* OP_GET_TIME_H */
1.6.1