clock.p

来自「VRTX 商用嵌入式实时操作系统」· P 代码 · 共 56 行

P
56
字号
/***************************************************************************
*
*               Copyright (c) 1993 READY SYSTEMS CORPORATION.
*
*       All rights reserved. READY SYSTEMS' source code is an unpublished
*       work and the use of a copyright notice does not imply otherwise.
*       This source code contains confidential, trade secret material of
*       READY SYSTEMS. Any attempt or participation in deciphering, decoding,
*       reverse engineering or in any way altering the source code is
*       strictly prohibited, unless the prior written consent of
*       READY SYSTEMS is obtained.
*
*
*       Module Name:            clock.p
*
*       Identification:         @(#) 1.5 clock.p
*
*       Date:                   1/6/94  16:27:47
*
****************************************************************************
*/

/* $Id: clock.p,v 1.2 1993/07/12 21:49:22 robert Exp $ */
/*
 * Copyrighted as an unpublished work.
 * (c) Copyright Lachman Technology, Inc. 1993
 * All rights reserved.
 *
 * RESTRICTED RIGHTS:
 *
 * These programs are supplied under a license.  They may be used,
 * disclosed, and/or copied only as permitted under such license
 * agreement.  Any copy must contain the above copyright notice and
 * this restricted rights notice.  Use, copying, and/or disclosure of
 * the programs is strictly prohibited unless otherwise provided in
 * the license agreement.
 */
/* Prototypes: clock.c */

/*
 * Declare incomplete types to quiet the GNU compiler.
 */
struct time;

/* Begin prototypes section */
void  clock_init(void);
void  clock(void);
int  timeout(void  (*pfunc)(),long  arg,long  nticks);
void  untimeout(int  id);
void  timein(void);
int  settime(struct  time *t);
int  gettime(struct  time *t);
int  kgettime(struct  time *t);
int  dostimer(void);
/* End prototypes section */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?