代码搜索:utils
找到约 10,000 项符合「utils」的源代码
代码结果 10,000
www.eeworm.com/read/375619/9355627
h utils.h
/* utility definitions */
#ifdef _POSIX2_RE_DUP_MAX
#define DUPMAX _POSIX2_RE_DUP_MAX
#else
#define DUPMAX 255
#endif
#define INFINITY (DUPMAX + 1)
#define NC (CHAR_MAX - CHAR_MIN + 1)
typedef unsign
www.eeworm.com/read/375214/9368633
c utils.c
/***************************************************************************
utils.c - description
-------------------
begin
www.eeworm.com/read/375214/9368741
h utils.h
/***************************************************************************
utils.h - description
-------------------
begin
www.eeworm.com/read/375211/9369354
h utils.h
#ifndef __UTILS_H
#define __UTILS_H
void memcpy(void *s1, const void *s2, int n);
void memset(void *s, const char ch, int n);
unsigned short ntohs(unsigned short s);
unsigned long ntohl(unsigned lo
www.eeworm.com/read/375211/9369367
c utils.c
#include "utils.h"
void memcpy(void *s1, const void *s2, int n)
{
int i;
for (i = 0; i < n; i++)
((char *)(s1))[i] = ((const char *)(s2))[i];
}
void memset(void *s, const char ch, i
www.eeworm.com/read/375211/9369403
o utils.o
www.eeworm.com/read/375211/9369437
o utils.o
www.eeworm.com/read/179003/9379728
h utils.h
#ifndef __UTILS_H
#define __UTILS_H
void memcpy(void *s1, const void *s2, int n);
void memset(void *s, const char ch, int n);
unsigned short ntohs(unsigned short s);
unsigned long ntohl(unsigned lo
www.eeworm.com/read/179003/9379816
c utils.c
#include "utils.h"
void memcpy(void *s1, const void *s2, int n)
{
int i;
for (i = 0; i < n; i++)
((char *)(s1))[i] = ((const char *)(s2))[i];
}
void memset(void *s, const char ch, i
www.eeworm.com/read/179003/9379849