代码搜索:sprintf

找到约 7,065 项符合「sprintf」的源代码

代码结果 7,065
www.eeworm.com/read/460691/1558421

pm etag.pm

package HTTP::Header::ETag; use strict; use vars qw($VERSION); $VERSION = sprintf("%d.%02d", q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/); require HTTP::Date; require HTTP::Headers; package HTTP::
www.eeworm.com/read/244052/4512926

h stdio.h

#ifndef _STDIO_H #define _STDIO_H extern int getc(void); extern int putc(int ch); extern int sprintf(char *buf, const char *fmt, ...); extern int printf(const char *fmt, ...); #endif
www.eeworm.com/read/240162/4588419

c 930513-1.c

#include char buf[2]; f (fp) int (*fp)(char *, const char *, ...); { (*fp)(buf, "%.0f", 5.0); } main () { f (&sprintf); if (buf[0] != '5' || buf[1] != 0) abort (); exit (0
www.eeworm.com/read/233448/4682388

c 930513-1.c

#include char buf[2]; f (fp) int (*fp)(char *, const char *, ...); { (*fp)(buf, "%.0f", 5.0); } main () { f (&sprintf); if (buf[0] != '5' || buf[1] != 0) abort (); exit (0
www.eeworm.com/read/216502/4891328

c maktee.c

#include "stdio.h" #include "signal.h" #include "lrnref" static int oldout; static char tee[50]; maktee() { int fpip[2], in, out; if (tee[0] == 0) sprintf(tee, "%s/tee", direct); pipe(fpip);
www.eeworm.com/read/200278/5071016

c request.c

#include "opend.h" #include void request(char *buf, int nread, int fd) { int newfd; if (buf[nread-1] != 0) { sprintf(errmsg, "request not null terminated: %*.*s\n", nread, nread,
www.eeworm.com/read/190666/5178331

c 930513-1.c

#include char buf[2]; f (fp) int (*fp)(char *, const char *, ...); { (*fp)(buf, "%.0f", 5.0); } main () { f (&sprintf); if (buf[0] != '5' || buf[1] != 0) abort (); exit (0
www.eeworm.com/read/179153/5309808

pm examplep.pm

{ package DBD::ExampleP; use Symbol; use DBI qw(:sql_types); @EXPORT = qw(); # Do NOT @EXPORT anything. $VERSION = sprintf("%d.%02d", q$Revision: 11.12 $ =~ /(\d+)\.(\d+)/o); #
www.eeworm.com/read/340665/3279059

c 930513-1.c

#include char buf[2]; f (fp) int (*fp)(char *, const char *, ...); { (*fp)(buf, "%.0f", 5.0); } main () { f (&sprintf); if (buf[0] != '5' || buf[1] != 0) abort (); exit (0
www.eeworm.com/read/326711/3470050

c fig08_15.c

/* Fig. 8.15: fig08_15.c Using sprintf */ #include int main( void ) { char s[ 80 ]; /* create char array */ int x; /* x value to be input */ double y; /* y v