alist.h (178529) | alist.h (178540) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 25 unchanged lines hidden (view full) --- 34 35#pragma ident "%Z%%M% %I% %E% SMI" 36 37#ifdef __cplusplus 38extern "C" { 39#endif 40 41#include <sys/types.h> | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 25 unchanged lines hidden (view full) --- 34 35#pragma ident "%Z%%M% %I% %E% SMI" 36 37#ifdef __cplusplus 38extern "C" { 39#endif 40 41#include <sys/types.h> |
42#if defined(sun) |
|
42#include <sys/machelf.h> | 43#include <sys/machelf.h> |
44#else 45#include <sys/elf.h> 46#endif |
|
43 44/* 45 * An Alist implements array lists. The functionality is similar to 46 * that of a linked list. However, an Alist is represented by a single 47 * contigious allocation of memory. The head of the memory is a header 48 * that contains control information for the list. Following the header 49 * is an array used to hold the user data. In the type definitions that 50 * follow, we define these as an array with a single element, but when --- 226 unchanged lines hidden --- | 47 48/* 49 * An Alist implements array lists. The functionality is similar to 50 * that of a linked list. However, an Alist is represented by a single 51 * contigious allocation of memory. The head of the memory is a header 52 * that contains control information for the list. Following the header 53 * is an array used to hold the user data. In the type definitions that 54 * follow, we define these as an array with a single element, but when --- 226 unchanged lines hidden --- |