Codigo fuente de la función tsearch
Gente, alguno que se haya bajado los fuentes de las librerías de C, no me podría pasar el codigo fuente de la función tsearch. Busque en google y no pude encontrar nada y se me complica bajarme todo el codigo fuente de todas las librerías de C. Saludos -- sf.-
On Tuesday 07 June 2005 10:53 am, Sebastian Ferro wrote:
alguno que se haya bajado los fuentes de las librerías de C, no me podría pasar el codigo fuente de la función tsearch. Busque en google y no pude encontrar nada y se me complica bajarme todo el codigo fuente de todas las librerías de C. You can find tsearch on SuSE 9.3:. Check the man page: tsearch, tfind, tdelete, twalk - manage a binary tree tsearch, tfind, twalk, and tdelete manage a binary tree. They are generalized from Knuth (6.2.2) Algorithm T. The first field in each node of the tree is a pointer to the corresponding data item. (The calling program must store the actual data.) compar points to a comparison routine, which takes pointers to two items. It should return an integer which is negative, zero, or positive, depending on whether the first item is less than, equal to, or greater than the second.
-- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
2005/6/7, Jerry Feldman <gaf@blu.org>:
On Tuesday 07 June 2005 10:53 am, Sebastian Ferro wrote:
alguno que se haya bajado los fuentes de las librerías de C, no me podría pasar el codigo fuente de la función tsearch. Busque en google y no pude encontrar nada y se me complica bajarme todo el codigo fuente de todas las librerías de C. You can find tsearch on SuSE 9.3:. Check the man page: tsearch, tfind, tdelete, twalk - manage a binary tree tsearch, tfind, twalk, and tdelete manage a binary tree. They are generalized from Knuth (6.2.2) Algorithm T. The first field in each node of the tree is a pointer to the corresponding data item. (The calling program must store the actual data.) compar points to a comparison routine, which takes pointers to two items. It should return an integer which is negative, zero, or positive, depending on whether the first item is less than, equal to, or greater than the second.
Thanks, but I need the Source Code of the function.
On Tuesday 07 June 2005 11:37 am, Sebastian Ferro wrote:
Thanks, but I need the Source Code of the function. The source code should be available on the SuSE source DVD, or http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/PROJECTS?cvsroot=glibc -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
Sebastian Ferro <sferro@gmail.com> [Tue, 7 Jun 2005 12:37:31 -0300]:
Thanks, but I need the Source Code of the function.
The are part of glibc. You'll find the source tarball inside glibc.src.rpm., which is on the DVD. Philipp
participants (3)
-
Jerry Feldman
-
Philipp Thomas
-
Sebastian Ferro