1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)exec.h	7.1 (Berkeley) 6/4/86
   7:  */
   8: 
   9: /*
  10:  * Header prepended to each a.out file.
  11:  */
  12: struct exec {
  13:     long    a_magic;    /* magic number */
  14: unsigned long   a_text;     /* size of text segment */
  15: unsigned long   a_data;     /* size of initialized data */
  16: unsigned long   a_bss;      /* size of uninitialized data */
  17: unsigned long   a_syms;     /* size of symbol table */
  18: unsigned long   a_entry;    /* entry point */
  19: unsigned long   a_trsize;   /* size of text relocation */
  20: unsigned long   a_drsize;   /* size of data relocation */
  21: };
  22: 
  23: #define OMAGIC  0407        /* old impure format */
  24: #define NMAGIC  0410        /* read-only text */
  25: #define ZMAGIC  0413        /* demand load format */

Defined struct's

exec defined in line 12; used 10 times

Defined macros

NMAGIC defined in line 24; never used
OMAGIC defined in line 23; never used
ZMAGIC defined in line 25; never used

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 700
Valid CSS Valid XHTML 1.0 Strict