Article View: comp.sys.ibm.pc.misc
Article #4176UUEncode question
From: Dean Lodzinski
Date: Wed, 24 Oct 1990 17:26
Date: Wed, 24 Oct 1990 17:26
19 lines
1384 bytes
1384 bytes
I have a quick question. At the beginning of a UUencoded file there is a line that says begin <mode> <filename> What is the function of the mode number? Is it used for a checksum of some type? I have looked at the source of a version of uuencode and it makes calls to a function called umask and fstat. I know fstat returns information about a file, like file size, type, etc. It also returns mode. The struct stat is defined in stat.h. On the Prime system I am trying to modify the code on, the struct stat in stat.h doesn't return mode (or at least I can't find it in the struct stat. So, if someone could explain what uuencode does with the <mode> number and how uudecode uses it etc, it might help me in the conversion. -- Dean Lodzinski DEAN_L@TURBO.Kean.edu, lodzins@pilot.njin.net 47 Mercury Circle csra19@TURBO.Kean.edu or D.LODZINSKI on GEnie South Amboy, NJ 08879 Dean Lodzinski on Hologram Inc., FNET Node 133, USA at 201/727-1914 (1200/2400/9600)
Technical Details
Message-ID:
<Oct.24.13.26.49.1990.4850@pilot.njin.net>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!psuvax1!rutgers!njin!lodzinsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!psuvax1!rutgers!njin!lodzins From: lodzins@pilot.njin.net (Dean Lodzinski) Newsgroups: comp.sys.ibm.pc.misc Subject: UUEncode question Keywords: UUEncode,UUDecode Message-ID: <Oct.24.13.26.49.1990.4850@pilot.njin.net> Date: 24 Oct 90 17:26:50 GMT Organization: NJ InterCampus Network, New Brunswick, N.J. Lines: 19