From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 19 Jun 2005 17:49:54 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20050619134954.GJ2751@solemn.turbinal.org> Mail-Followup-To: ALT Devel discussion list References: <20050615223723.GE2751@solemn.turbinal.org> <20050619165600.6d604346@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2dKNoLeXnWu5vox" Content-Disposition: inline In-Reply-To: <20050619165600.6d604346@localhost.localdomain> Subject: [devel] Re: RFC: test-libs X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2005 13:50:01 -0000 Archived-At: List-Archive: List-Post: --J2dKNoLeXnWu5vox Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 19, 2005 at 04:56:00PM +0400, Andrey Astafiev wrote: > > liba2ps /usr/lib/liba2ps.so.1 program_name >=20 > program_name =D7 =C4=C1=CE=CE=CF=CD =D3=CC=D5=DE=C1=C5 -- =C9=CD=D1 =D7= =CE=C5=DB=CE=C5=CA =D0=C5=D2=C5=CD=C5=CE=CE=CF=CA. > =EB=C1=CB =CD=CF=D6=CE=CF =DC=D4=CF =C9=D3=D0=D2=C1=D7=C9=D4=D8? =FA=CE= =C1=DE=C9=D4 =CC=C9 =DC=D4=CF, =DE=D4=CF =C2=C9=C2=CC=C9=CF=D4=C5=CB=C1 > =CE=C5 =C4=CF=CC=D6=CE=C1 =D3=CF=C4=C5=D2=D6=C1=D4=D8 =CF=C2=DF=D1=D7=CC= =C5=CE=C9=CA =D4=C9=D0=C1 extern char *program_name, > =CB=C1=CB =D7 =C4=C1=CE=CE=CF=CD =D3=CC=D5=DE=C1=C5? =E8=CD. =F0=CF=CC=D5=DE=C1=C5=D4=D3=D1, =DE=D4=CF =C2=C9=C2=CC=C9=CF=D4=C5= =CB=C1 =CC=C9=CE=CB=D5=C5=D4=D3=D1 =D3 =C2=C9=CE=C1=D2=A3=CD, =C1 =CE=C5 = =C2=C9=CE=C1=D2=D8 -- =D3 =C2=C9=C2=CC=C9=CF=D4=C5=CB=CF=CA. extern =CF=C2=DF=D1=D7=CC=C5=CE=C9= =D1 =D7 =C2=C9=C2=CC=C9=CF=D4=C5=CB=C5, =CB=CF=CE=C5=DE=CE=CF =D6=C5, =D7= =CF=DA=CD=CF=D6=CE=D9, =CE=CF =CF=CE=C9, =D0=CF =C9=C4=C5=C5, =C4=CF=CC=D6=CE=D9 =D2=C5=DA=CF=CC= =D8=D7=C9=D4=D8=D3=D1 =D7 =C4=D2=D5=C7=C9=C5 =C2=C9=C2=CC=C9=CF=D4=C5=CB=C9= , =C1 =CE=C5 =D7 =C2=C9=CE=C1=D2=C9. =F0=CF =D0=CF=D7=CF=C4=D5 program_name, =D0=C5=D2=D7=CF=C5, =DE=D4=CF =CD= =CE=C5 =D0=D2=C9=DB=CC=CF =D7 =C7=CF=CC=CF=D7=D5: $ cat test.c #include #include int main() { char *progname =3D getenv("_"); if (!progname) return 1; printf("%s\n", progname); return 0; } $ gcc test.c $ ./a.out /home/at/./a.out $ --J2dKNoLeXnWu5vox Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCtXgBfBKgtDjnu0YRAiHYAKCV3c4Foj28zX3W+XrwkmVJDHPVsACgkoA2 6iaYkh20Ead0KPgjAj51fXY= =Tf9T -----END PGP SIGNATURE----- --J2dKNoLeXnWu5vox--