epoc32/include/libc/sys/times.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 
    20 
    21 
    22 #ifndef	_SYS_TIMES_H
    23 #define	_SYS_TIMES_H
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    27 
    28 #include <_ansi.h>
    29 #include <machine/types.h>
    30 /**
    31 @publishedAll
    32 @released
    33 */
    34 #ifndef __clock_t_defined
    35 typedef _CLOCK_T_ clock_t;
    36 #define __clock_t_defined
    37 #endif
    38 /**
    39 @publishedAll
    40 @released
    41 */
    42 struct tms {
    43 	clock_t	tms_utime;		/* user time */
    44 	clock_t	tms_stime;		/* system time */
    45 	clock_t	tms_cutime;		/* user time, children */
    46 	clock_t	tms_cstime;		/* system time, children */
    47 };
    48 /**
    49 @publishedAll
    50 @released
    51 */
    52 extern clock_t times(struct tms *);
    53 
    54 #ifdef __cplusplus
    55 }
    56 #endif
    57 #endif	/* !_SYS_TIMES_H */