From owner-freebsd-questions Sat Jun 26 18:20: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.lig.bellsouth.net (mail3.lig.bellsouth.net [205.152.0.51]) by hub.freebsd.org (Postfix) with ESMTP id 522FD14CD5 for ; Sat, 26 Jun 1999 18:20:00 -0700 (PDT) (envelope-from gljohns@bellsouth.net) Received: from gforce.johnson.home (host-209-214-149-148.msy.bellsouth.net [209.214.149.148]) by mail3.lig.bellsouth.net (8.8.8-spamdog/8.8.5) with ESMTP id VAA04147 for ; Sat, 26 Jun 1999 21:19:59 -0400 (EDT) Received: (from glenn@localhost) by gforce.johnson.home (8.9.3/8.9.3) id UAA01589 for freebsd-questions@FreeBSD.ORG; Sat, 26 Jun 1999 20:19:57 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Sat, 26 Jun 1999 20:19:56 -0500 To: freebsd-questions@FreeBSD.ORG Subject: Replacement for gets() Message-ID: <19990626201956.A1542@gforce.johnson.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Programs that use gets() spit out the following warning: warning: this program uses gets(), which is unsafe. What is the proper function to use in place of gets()? Thanks in advance. -- Glenn Johnson gljohns@bellsouth.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message