Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!VM64X%KSUVM.BITNET@WISCVM.WISC.EDU From: VM64X%KSUVM.BITNET@WISCVM.WISC.EDU (GS46) Newsgroups: comp.unix.wizards Subject: AT&T encrypt vs 4.? Message-ID: <10777@brl-adm.ARPA> Date: 10 Dec 87 22:56:08 GMT Sender: news@brl-adm.ARPA Lines: 10 I had a similar experience writing a program that accessed the encrypt system call. I can't tell you for sure not having used SCO's product However the problem I had in porting what worked on 4.2/4.3 BSD over to System V.2 on a 3B15 and/or 3B5 was that the version of encrypt that was included in the "normal" library ignores the "edflag" parameter thus making it possible to encrypt but not decrypt. The way I finally solved the problem in my case was to include the code for the 4.2 system call into my program as another function when I ported the code over (renamed to eliminate function re-definition errors). Acknowledge-To: Gary D. Strohm (GS46)