From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 14 Mar 2005 12:05:45 +0300 From: "Alexey I. Froloff" To: ALT Linux Community Subject: Re: [Comm] segfault with getopt_long Message-ID: <20050314090545.GE5050@immo.ru> Mail-Followup-To: ALT Linux Community References: <423548BE.5080103@ricom.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PPYy/fEw/8QCHSq3" Content-Disposition: inline In-Reply-To: <423548BE.5080103@ricom.ru> User-Agent: Mutt/1.5.7+cvs20050205i X-Virus-Scanned: by amavisd-new at immo.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 09:05:47 -0000 Archived-At: List-Archive: List-Post: --PPYy/fEw/8QCHSq3 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alexey Morsov [050314 11:19]: > =E1 =C5=D3=CC=C9 =C4=C1=D4=D8 =CE=C5=D7=C5=D2=CE=D5=C0 =CF=D0=C3=C9=C0 = =D7 =C4=CC=C9=CE=CE=CF=CD =D7=C9=C4=C5 (--eeee) =D4=CF =D7=D9=CC=C5=D4=C1= =C5=D4 segfault > =E9=DA-=DA=C1 =DE=C5=C7=CF =CD=CF=D6=C5=D4 =C2=D9=D4=D8 =D4=C1=CB=CF=C5? > =3D=3D=3D=3D=3D=3D=3D=3D =EC=C9=D3=D4 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > static struct option long_options[] =3D { > {"start", 0, 0, 0}, > {"stop", 0, 0, 0}, > {"config", 1, 0, 0}, > {"log", 1, 0, 0}, > {"help", 0, 0, 0} > }; =F0=CF=DE=C9=D4=C1=CA=D4=C5 info libc =CE=C1 =D4=C5=CD=D5 Getopt Long Optio= n Example. P.S. hint: =CB=C1=CB getopt_long =D5=DA=CE=C1=C5=D4 =DE=D4=CF =DA=C1=CB=CF= =CE=DE=C9=CC=C9=D3=D8 =CF=D0=C9=D3=C1=CE=C9=D1 =CF=D0=C3=C9=CA? --=20 Regards, Sir Raorn. ------------------- =EB=CF=CE=C3=C5=D0=C3=C9=D1 =C3=C5=CC=CF=D3=D4=CE=CF=C7=CF =D2=C5=D0=CF=DA= =C9=D4=C1=D2=C9=D1 =D4=C1=CB=CF=D7=C1, =DE=D4=CF =D3=D4=C1=D4=C9=DE=C5=D3= =CB=C9=CD =C2=C9=C2=CC=C9=CF=D4=C5=CB=C1=CD =D7 =CE=C5=CD =CE=C5 =CD=C5=D3=D4=CF (=C9=CD=C5=C0=D4=D3=D1 =C9=D3=CB=CC=C0= =DE=C5=CE=C9=D1). =F0=CF=CD=C9=CD=CF =D2=C1=DA=C4=C5=CC=D1=C5=CD=CF=D3=D4= =C9, =C4=C9=CE=C1=CD=C9=DE=C5=D3=CB=C9=C5 =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9 =C4=C1=C0=D4 =D0=D2=CF=DA=D2=C1=DE=CE=D9=C5 = =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9, =D7=CF=DA=CD=CF=D6=CE=CF=D3=D4=D8 =C1=D3= =C9=CE=C8=D2=CF=CE=CE=CF=CA =D0=CF=C4=C4=C5=D2=D6=CB=C9 =D0=C1=CB=C5=D4=CF=D7 =C9 =D4.=C4. -- at in devel@ --PPYy/fEw/8QCHSq3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCNVPpVqT7+fkT8woRAkE4AJ4wv8yjaUmQthjioyd8kXNR96w52ACg3XMA LGmU7LQiOZimygnwHpJnltk= =l0h6 -----END PGP SIGNATURE----- --PPYy/fEw/8QCHSq3--