代码搜索:stdlib

找到约 10,000 项符合「stdlib」的源代码

代码结果 10,000
www.eeworm.com/read/332924/12717095

h d2.h

#include #include #include typedef int SElemType; typedef int Status; int end;/*最后一个车厢的号码*/ long total=0;/*总的组合方案数目*/
www.eeworm.com/read/332905/12717535

c stdlibinit.c

/* stdlibLibInit.c - stdlib library initialization */ /* Copyright 1992 Wind River Systems, Inc. */ /* modification history -------------------- 01b,21sep92,smb added some more functions. 01a,07sep
www.eeworm.com/read/332816/12726291

c binsearch.c

#include #include #include #define SWAP(x,y,t) (t=x,x=y,y=t) void sort(int [],int); int binsearch(int [],in
www.eeworm.com/read/145180/12746346

c test13.c

/* Tester for yamd. */ #include char msg[] = "putenv free (should not barf)"; void test(void) { /* putenv without an '=' should free the arg. */ putenv("PATH"); }
www.eeworm.com/read/145180/12746348

c test3.c

/* Tester for yamd. */ #include char msg[] = "multi free (should complain)"; void test(void) { char *p; p = malloc(10); free(p); free(p); }
www.eeworm.com/read/145180/12746351

c test14.c

/* Tester for yamd. */ #include char msg[] = "malloc(0) (should issue warning)"; void test(void) { malloc(0); }
www.eeworm.com/read/145180/12746353

c test4.c

/* Tester for yamd. */ #include char msg[] = "free bad (should complain)"; void test(void) { char *p; p = malloc(10); free(p + 3); }
www.eeworm.com/read/145180/12746362

c test2.c

/* Tester for yamd. */ #include char msg[] = "touch freed (should crash)"; void test(void) { char *p; p = malloc(10); free(p); p[5] = 'h'; }
www.eeworm.com/read/145180/12746365

c test12.c

#include #include char msg[] = "Try freeing libc stuff (should have no errors)"; void test(void) { fclose(stdin); }
www.eeworm.com/read/145180/12746370

c test6.c

#include #include #include char msg[] = "realloc copies"; void test(void) { char *p; p = malloc(10); strcpy(p, "Hello"); p = realloc(p, 20); if (strcmp(p, "