anm.c File Reference

#include "out.h"
#include "arch.h"
#include "ranlib.h"
#include <stdio.h>
#include <ctype.h>

Include dependency graph for anm.c:

Go to the source code of this file.

Functions

char * malloc ()
char * realloc ()
 main (argc, char **argv)
int rd_unsigned2 ()
long lseek ()
char * strncpy ()
 process (int fd)
 do_file (int fd)
 compare (struct outname *p1, struct outname *p2)
 rd_fatal ()

Variables

int numsort_flg
int sectsort_flg
int undef_flg
int revsort_flg = 1
int globl_flg
int nosort_flg
int arch_flg
int prep_flg
int read_error
outhead hbuf
outsect sbuf
long off
long s_base [S_MAX]
char * filename
int narg


Function Documentation

compare struct outname p1,
struct outname p2
 

Definition at line 300 of file anm.c.

References numsort_flg, revsort_flg, sectsort_flg, and strcmp.

do_file int  fd  ) 
 

Definition at line 139 of file anm.c.

References BADMAGIC, compare, exit(), filename, fprintf(), hbuf, HF_8086, i, j, n, nbuf, NULL, outhead::oh_flags, outhead::oh_nchar, outhead::oh_nname, outhead::oh_nsect, rd_fdopen(), rd_ohead(), rd_sect(), read_error, s_base, S_MIN, sbuf, and stderr.

Referenced by main(), and process().

long lseek  ) 
 

main argc  ,
char **  argv
 

Definition at line 38 of file anm.c.

References argc, close, exit(), filename, fprintf(), globl_flg, narg, nosort_flg, numsort_flg, open, prep_flg, process(), revsort_flg, sectsort_flg, stderr, and undef_flg.

char* malloc  ) 
 

process int  fd  ) 
 

Definition at line 103 of file anm.c.

References AALMAG, ar_hdr::ar_name, ar_hdr::ar_size, ARMAG, do_file(), filename, fprintf(), L, lseek, magic, narg, O_MAGIC, printf, rd_arhdr(), rd_unsigned2(), stderr, strcmp, strncpy(), and SYMDEF.

Referenced by main().

rd_fatal  ) 
 

Definition at line 335 of file anm.c.

References filename, fprintf(), read_error, and stderr.

int rd_unsigned2  ) 
 

char* realloc  ) 
 

char* strncpy  ) 
 

Referenced by _mwrite_one(), add(), add_file(), AreWeIn(), authenticate(), authorize(), check_vfat(), cmd_tag(), cnvtfile(), configtag(), Convfont(), copy(), copy_member(), copyFileName(), cstart(), d_name(), db_prwind(), decode_message(), do_exec(), do_getname(), do_init(), do_modelines(), doconfig(), DOgetreply(), DOopen(), doPASS(), doRNFR(), doSITE(), doUSER(), expand(), extract(), Field(), first(), fix_line(), fix_mcwd(), ftpreply(), fxp_getname(), get_mcwd_file_name(), get_slots(), getdomainname(), GetNetInfo(), getrequest(), gid_name(), globname(), hostalias(), init_geometry_boot(), is_linked(), label_name(), ListHosts(), logmsg(), main(), make_header(), maketree(), mformat(), mk_entry(), name_gid(), name_uid(), new_node(), nm_print(), openlog(), parseTZ(), police(), Process(), process(), purl(), r_readdir(), read_config(), read_header(), regsub(), renameit(), res_init(), rl_getname(), setDFmacro(), sprintf(), storename(), svcname(), swapon(), TalkTrans(), tar(), tarfile(), uid_name(), unix_loop(), unix_name(), vfat_lookup_loop_common(), virt(), wall(), wildcard(), write_pid(), write_slots(), wtmp(), and yellat().


Variable Documentation

int arch_flg
 

Definition at line 26 of file anm.c.

char* filename
 

Definition at line 35 of file anm.c.

Referenced by do_file(), finish_drive_clause(), main(), opentxt(), parse(), Path_Dir_File(), Process(), process(), rd_fatal(), setDFmacro(), syntax(), and unzRepair().

int globl_flg
 

Definition at line 24 of file anm.c.

Referenced by main().

struct outhead hbuf
 

Definition at line 29 of file anm.c.

Referenced by do_file(), and inflate().

int narg
 

Definition at line 36 of file anm.c.

Referenced by command(), main(), parseheredoc(), process(), and simplecmd().

int nosort_flg
 

Definition at line 25 of file anm.c.

Referenced by main().

int numsort_flg
 

Definition at line 20 of file anm.c.

Referenced by compare(), and main().

long off
 

Definition at line 31 of file anm.c.

Referenced by add_z_1(), add_z_2(), alloc_inode(), backtrace(), dumpfile(), enter_dir(), get_reg(), gnu_symbolic(), incr_link(), incr_size(), link_islink(), main(), modify(), raw_install(), rd_ohead(), rd_rew_relos(), read_write(), rl_init_buf(), seekdir(), set_reg(), symbolic(), and updatepool().

int prep_flg
 

Definition at line 27 of file anm.c.

Referenced by main().

int read_error
 

Definition at line 28 of file anm.c.

Referenced by do_file(), and rd_fatal().

int revsort_flg = 1
 

Definition at line 23 of file anm.c.

Referenced by compare(), and main().

long s_base[S_MAX]
 

Definition at line 34 of file anm.c.

Referenced by do_file().

struct outsect sbuf
 

Definition at line 30 of file anm.c.

Referenced by _gettemp(), command(), do_file(), main(), open_mcwd(), printstat(), and set_scr().

int sectsort_flg
 

Definition at line 21 of file anm.c.

Referenced by compare(), and main().

int undef_flg
 

Definition at line 22 of file anm.c.

Referenced by main().


Generated on Fri Apr 14 22:59:13 2006 for minix by  doxygen 1.4.6