代码搜索结果
找到约 10,000 项符合
R 的代码
r_misc.c
/*
**********************************************************************
* Micrium, Inc.
* 949 Crestview Circle
* Weston, FL 333
strtok_r.c
/* strtok_r.c - file for string */
/* Copyright 1992-1995 Wind River Systems, Inc. */
/*
modification history
--------------------
01d,23oct95,jdi doc: added comment that input string will be
template_r.s
/* reentrant system call template */
/* Lots of system calls are trivial functions, so we build their source files
from a template. New syscalls can be added simply by editing the
Makefile!
gmtime_r.c
/*
* gmtime_r.c
*/
#include
#include "local.h"
struct tm *
_DEFUN (gmtime_r, (tim_p, res),
_CONST time_t * tim_p _AND
struct tm *res)
{
return (_mktm_r (tim_p, res, 1));
}
lcltime_r.c
/*
* localtime_r.c
*
* Converts the calendar time pointed to by tim_p into a broken-down time
* expressed as local time. Returns a pointer to a structure containing the
* broken-down time.
*/
#
ctime_r.c
/*
* ctime_r.c
*/
#include
char *
_DEFUN (ctime_r, (tim_p, result),
_CONST time_t * tim_p _AND
char * result)
{
struct tm tm;
return asctime_r (localtime_r (tim_p, &tm), res
mktm_r.c
/*
* mktm_r.c
* Original Author: Adapted from tzcode maintained by Arthur David Olson.
* Modifications: Changed to mktm_r and added __tzcalc_limits - 04/10/02, Jeff Johnston
*
tzset_r.c
#include
#include
#include
#include
#include
#include
#include
#include "local.h"
static char __tzname_std[11];
static c
asctime_r.c
/*
* asctime_r.c
*/
#include
#include
char *
_DEFUN (asctime_r, (tim_p, result),
_CONST struct tm *tim_p _AND
char *result)
{
static _CONST char day_name[7][3] = {
"Sun", "
ttyname_r.c
/* Copyright (C) 1991,92,93,1995-1999,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modi