123220Smckusick /* 2*63370Sbostic * Copyright (c) 1988, 1993 3*63370Sbostic * The Regents of the University of California. All rights reserved. 423220Smckusick * 544516Sbostic * %sccs.include.redist.c% 633512Sbostic * 7*63370Sbostic * @(#)cat.c 8.1 (Berkeley) 06/11/93 823220Smckusick */ 9317Sbill main()10317Sbillmain() 11317Sbill { 1233512Sbostic register int c, fd; 13317Sbill 1437221Skarels fd = getfile("File", 0); 1537221Skarels while ((c = getc(fd)) >= 0) 16317Sbill putchar(c); 17317Sbill exit(0); 18317Sbill } 19