runtime version query

Jakub Jelinek jakub@redhat.com
Mon Dec 15 16:23:00 GMT 2003


On Mon, Dec 15, 2003 at 10:39:31AM -0500, Robert Schweikert wrote:
> Is it possible to get a hold of the glibc version at runtime?
> 
> I looked through the manual but could not find any information on this.

Yes.
char buf[64];
confstr (_CS_GNU_LIBC_VERSION, buf, sizeof (buf));

	Jakub



More information about the Libc-alpha mailing list