AUTRESIZEBLOCK(3)
π AUTRESIZEBLOCK(3) π
bestie, this one comes from the AUT FUNCTIONS manual β folded in right here so you know exactly where it lives. π«Ά
β¨ NAME β¨
autresizeblock β resizes a memory block
π ORIGIN π
This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at LIP6 laboratory of UniversitοΏ½ Pierre et Marie CURIE, in Paris, France. π
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π SYNOPSIS π
#include "aut101.h"
char βautresize( Source, OldSize, NewSize )
char βSource;
unsigned int OldSize;
unsigned int NewSize;
No cap, the synopsis literally says autresize there β Iβm just reading the page, bestie ππ
π¦ PARAMETERS π¦
Sourceβ pointer to the memory block to be resized. π«ΆOldSizeβ old size of the memory block.NewSizeβ new size of the memory block.
πΈ DESCRIPTION πΈ
autresizeblock resizes a memory block from OldSize to NewSize. If NewSize is greater than OldSize, then the new bytes are set to zero. β¨
β RETURN VALUE β
autresizeblock returns the pointer to the resized block. periodt π
π ERRORS π
"autresize: resize error, can't continue !"β system break can't be moved anymore, no more memory can be retrieved from the system. yeah, thatβs the dramatic one π
π§ EXAMPLE π§
#include "aut101.h"
char βconcatstring( t, s )
char β t;
char β s;
{
t = (char β)autresizeblock( t, strlen(t)+1, strlen(t)+strlen(s)+1);
strcat(t, s);
return t;
}
π₯ SEE ALSO π₯
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools. π«Ά
π cute little sign-off, bestie: the source/version on this page is ASIM/LIP6, and the date is October 1, 1997. mwah πβ¨
π¦ where this page comes from
- nixos 26.05: alliance 5.1.1-unstable-2025-02-24
- nixpkgs unstable: alliance 5.1.1-unstable-2025-02-24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms