代码搜索结果
找到约 10,000 项符合
R 的代码
getenv_r.c
/*
FUNCTION
---look up environment variable
INDEX
_getenv_r
INDEX
environ
ANSI_SYNOPSIS
#include
char *_getenv_r(struct _reent *, const char *);
TRA
mbstowcs_r.c
#include
#include
size_t
_DEFUN (_mbstowcs_r, (reent, pwcs, s, n, state),
struct _reent *r _AND
wchar_t *pwcs _AND
const char *s _
mblen_r.c
/*
FUNCTION
---reentrant minimal multibyte length function
INDEX
_mblen_r
ANSI_SYNOPSIS
#include
int _mblen_r(struct _reent *, const char *, size_t , int *
strtoll_r.c
/*
This code is based on strtoul.c which has the following copyright.
It is used to convert a string into a signed long long.
long long _strtoll_r (struct _reent *rptr, const char *s,
rand_r.c
#include
/* Pseudo-random generator based on Minimal Standard by
Lewis, Goodman, and Miller in 1969.
I[j+1] = a*I[j] (mod m)
where a = 16807
m = 2147483647
Using S
wcstombs_r.c
#include
#include
size_t
_DEFUN (_wcstombs_r, (reent, s, pwcs, n, state),
struct _reent *r _AND
char *s _AND
const wchar_t *pwcs _
strtoull_r.c
/*
This code is based on strtoul.c which has the following copyright.
It is used to convert a string into an unsigned long long.
long long _strtoull_r (struct _reent *rptr, const char *s,
hcreate_r.c
/* $NetBSD: hcreate.c,v 1.2 2001/02/19 21:26:04 ross Exp $ */
/*
* Copyright (c) 2001 Christopher G. Demetriou
* All rights reserved.
*
* Redistribution and use in source and binary forms, with
readdir_r.c
#ifndef HAVE_OPENDIR
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification
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