代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/233554/4666176
c strdup.c
#include "ntp_malloc.h"
#if !HAVE_STRDUP
#define NULL 0
char *strdup(const char *s);
char *
strdup(
const char *s
)
{
char *cp;
if (s) {
cp = (char *) malloc((un
www.eeworm.com/read/400494/2352261
fn libc.fn
\entry {strerror}{23}{\code {strerror}}
\entry {perror}{23}{\code {perror}}
\entry {malloc}{28}{\code {malloc}}
\entry {free}{30}{\code {free}}
\entry {cfree}{30}{\code {cfree}}
\entry {realloc}{31}{\
www.eeworm.com/read/292920/8324060
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u
www.eeworm.com/read/413044/11169018
c names3.c
// names3.c -- use pointers and malloc()
#include
#include // for strcpy(), strlen()
#include // for malloc(), free()
struct namect {
char * fname; // u
www.eeworm.com/read/202410/15384377
cpp ezw.cpp
//#include "stdafx.h"
#include "ezw.h"
#include
#undef calloc
#undef realloc
#undef malloc
#undef free
#include
#include
/*--------------------------------
www.eeworm.com/read/290380/8486533
c heapnode.c
#include
#include
void main(void)
{
char *buffer, *second_buffer;
int i, state;
buffer = malloc(100);
second_buffer = malloc(100);
state = heapcheckno
www.eeworm.com/read/290380/8486543
c heapchk.c
#include
#include
void main(void)
{
char *buffer, *second_buffer;
int i, state;
buffer = malloc(100);
second_buffer = malloc(100);
state = heapcheck()
www.eeworm.com/read/286953/8735960
c heapnode.c
#include
#include
void main(void)
{
char *buffer, *second_buffer;
int i, state;
buffer = malloc(100);
second_buffer = malloc(100);
state = heapcheckno
www.eeworm.com/read/286953/8735971
c heapchk.c
#include
#include
void main(void)
{
char *buffer, *second_buffer;
int i, state;
buffer = malloc(100);
second_buffer = malloc(100);
state = heapcheck()
www.eeworm.com/read/187002/8884926
c heapnode.c
#include
#include
void main(void)
{
char *buffer, *second_buffer;
int i, state;
buffer = malloc(100);
second_buffer = malloc(100);
state = heapcheckno