View Single Post
Old Nov 29th, 2006, 9:49 AM   #1
JawaKing00
Newbie
 
Join Date: Sep 2004
Posts: 29
Rep Power: 0 JawaKing00 is on a distinguished road
GCC sprintf Source Code

I'm trying to track down the source code for the sprintf funtion in the GNU GCC source files.

sprintf is the only funtion from the standard libraries I'm using and currently for certification purposes on the project I'm on, we cannot use outside libraries unless they are also certified. Since we do not want to deal with getting the entire GCC libraries certified for this project I just want to pull the sprintf function out of the source, simplify it to exactly what we need and just use that.

Could anyone possibly point me in the direction of where to find the function in the GCC source? We're using GCC version 3.4.4 and I've got the source downloaded from the gcc.gnu.org website, but I can't find the source for sprintf anywhere.

Thanks a ton.
JawaKing00 is offline   Reply With Quote