/* ============================================================================ * Author : Vadim Mutilin * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ============================================================================ */ #include "header.h" void abort(void); //store in the array example struct A17 { int data; }; int alloc_17(struct A17 **array, int len) { struct A17 *p; int i=0; int j; for(; i=0; j--) { free(array[j]); array[j]=0; } return -ENOMEM; } void free_17(struct A17 **array, int len) { int i; for(i=0; i