epoc32/include/libc/sys/times.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/libc/sys/times.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/libc/sys/times.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,57 @@
     1.4 -times.h
     1.5 +/*
     1.6 +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* 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
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description:
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +
    1.26 +#ifndef	_SYS_TIMES_H
    1.27 +#define	_SYS_TIMES_H
    1.28 +#ifdef __cplusplus
    1.29 +extern "C" {
    1.30 +#endif
    1.31 +
    1.32 +#include <_ansi.h>
    1.33 +#include <machine/types.h>
    1.34 +/**
    1.35 +@publishedAll
    1.36 +@released
    1.37 +*/
    1.38 +#ifndef __clock_t_defined
    1.39 +typedef _CLOCK_T_ clock_t;
    1.40 +#define __clock_t_defined
    1.41 +#endif
    1.42 +/**
    1.43 +@publishedAll
    1.44 +@released
    1.45 +*/
    1.46 +struct tms {
    1.47 +	clock_t	tms_utime;		/* user time */
    1.48 +	clock_t	tms_stime;		/* system time */
    1.49 +	clock_t	tms_cutime;		/* user time, children */
    1.50 +	clock_t	tms_cstime;		/* system time, children */
    1.51 +};
    1.52 +/**
    1.53 +@publishedAll
    1.54 +@released
    1.55 +*/
    1.56 +extern clock_t times(struct tms *);
    1.57 +
    1.58 +#ifdef __cplusplus
    1.59 +}
    1.60 +#endif
    1.61 +#endif	/* !_SYS_TIMES_H */