K. J. Thomas wrote: > Can someone tell me how to use crypt() & encrypt() calls. My compiler > compiles (for crypt ) but does not link. Is there any special lib that I > have to link. Yes; use `-lcrypt' to link against libcrypt. > with encrypt gcc does not compile at all. encrypt() is defined in crypt.h and implemented in libcrypt. All of this relates to libc-6 (glibc-2). In libc-5, these functions are part of libc itself. -- Glynn Clements <[EMAIL PROTECTED]>
- crypt() & encrypt() K. J. Thomas
- Glynn Clements