代码搜索:realloc
找到约 1,059 项符合「realloc」的源代码
代码结果 1,059
www.eeworm.com/read/102720/15761874
3 malloc.3
MALLOC(3) Minix Programmer's Manual MALLOC(3)
NAME
malloc, free, realloc, calloc, alloca - memory allocator
SYNOPSIS
#include
www.eeworm.com/read/351845/10603728
h gmem.h
/*
* gmem.h
*
* Memory routines with out-of-memory checking.
*
* Copyright 1996-2003 Glyph & Cog, LLC
*/
#ifndef GMEM_H
#define GMEM_H
#include
#ifdef __cplusplus
extern "C" {
#endi
www.eeworm.com/read/131315/5930701
3 free.3
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the American National Stan
www.eeworm.com/read/101082/6245485
3 malloc.3
.\" SCCSID: @(#)malloc.3 3.1 11/24/87
.TH malloc 3 RISC
.SH Name
malloc, free, realloc, calloc, alloca \- memory allocator
.SH Syntax
.nf
.B char *malloc(size)
.B unsigned size;
.PP
.B free(ptr)
.B vo
www.eeworm.com/read/339324/12243138
h nommgr.h
// ---------------------------------------------------------------------------------------------------------------------------------
// _
//
www.eeworm.com/read/256577/11986473
h dbg_malloc.h
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
* Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
*
* This file is part of the device-mapper userspace tools.
www.eeworm.com/read/378183/9245223
dat funtc76b.dat
realloc
#include
#include
#include
int main(void)
{
char *str;
str= malloc(10);
strcpy(str, "Hello");
printf("String is %s
Address is %p
",
www.eeworm.com/read/176085/9517396
dat funtc76.dat
函数名 realloc
函数原型 void * realloc(void * p,unsigned size);
功能 将p所指出的已分配内存区的大小改为size,size可以比原来分配的空间大或小.
返回值 返回指向该内存区的指针.
www.eeworm.com/read/457234/7330642
cc str.cc
/*
* HT Editor
* str.cc
*
* Copyright (C) 2002 Stefan Weyergraf (stefan@weyergraf.de)
* Copyright (C) 2002, 2003 Sebastian Biallas (sb@biallas.net)
*
* This program is free software; you can re