代码搜索结果
找到约 10,000 项符合
R 的代码
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
mntent_r.c
/* Utilities for reading/writing fstab, mtab, etc.
Copyright (C) 1995-2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; yo
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!
strerror_r.c
/*
FUNCTION
---convert error number to string and copy to buffer
INDEX
strerror_r
ANSI_SYNOPSIS
#include
char *strerror_r(int , char *, size_t )
strndup_r.c
#include
#include
#include
char *
_DEFUN (_strndup_r, (reent_ptr, str, n),
struct _reent *reent_ptr _AND
_CONST char *str _AND
size_t n)
{
strdup_r.c
#include
#include
#include
char *
_DEFUN (_strdup_r, (reent_ptr, str),
struct _reent *reent_ptr _AND
_CONST char *str)
{
size_t len = strlen (str