codesearch.isocpp.org by Andrew Tomazos.
Enter a valid C/C++ code snippet...
Searching for `gets`
...
2489599 source files searched.
2242 matches found.
Here is a random sample of matches...
actcd19/main/m/mame/mame_0.176-3/src/lib/util/corefile.cpp:156:
virtual int getc() override { return m_file.getc(); }
virtual int ungetc(int c) override { return m_file.ungetc(c); }
virtual char *gets(char *s, int n) override { return m_file.gets(s, n); }
virtual const void *buffer() override { return m_file.buffer(); }
actcd19/main/b/bash/bash_5.0-2/lib/tilde/tilde.c:435:
fflush (stdout);
if (!gets (line))
strcpy (line, "done");
actcd19/main/b/binutils-h8300-hms/binutils-h8300-hms_2.16.1-10/gas/hash.c:561:
{
printf (" what hash table (%d:%d) ? ", 0, TABLES - 1);
gets (answer);
sscanf (answer, "%d", &number);
if (number >= 0 && number < TABLES)
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/unix/osftest.c:82:
case 'r': case 'R': /* Rename File */
printf("Old Name: "); gets(c1);
printf("New Name: "); gets(c2);
printf("Statut Rename=%d\n", osfrename(c1, c2));
puts(osmsg());
actcd19/main/q/qbittorrent/qbittorrent_3.3.15-1/src/webui/webapplication.cpp:241:
print(btjson::getTorrents(
gets["filter"], gets["category"], gets["sort"], gets["reverse"] == "true",
gets["limit"].toInt(), gets["offset"].toInt()
), Http::CONTENT_TYPE_JSON);
actcd19/main/s/sipxtapi/sipxtapi_3.3.0~test17-3/sipXmediaLib/src/mp/dtmflib.cpp:918:
playsilence(pTG, 800);
MpToneGen_startTone(pTG, DTMF_TONE_RINGBACK);
gets(s);
break;
}
actcd19/main/g/gauche/gauche_0.9.6-10/ext/vport/vport.c:458:
VPORT_SLOT(getb),
VPORT_SLOT(getc),
VPORT_SLOT(gets),
VPORT_SLOT(ready),
VPORT_SLOT(putb),
actcd19/main/d/djvulibre/djvulibre_3.5.27.1-10/libdjvu/XMLTags.cpp:193:
}
GPList<lt_XMLTags> level;
GUTF8String tag,raw(xmlbs.gets(0,'<',false));
int linesread=xmlbs.get_lines_read();
if(!isspaces(raw))
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/vms/oshtest.c:120:
#if 1
printf("Specify stdin : "); if (gets(c1) == 0) break;
printf("Specify stdout : "); if (gets(c2) == 0) break;
i = oshcmd(msg, c1 , c2, (char *)0);
#else
actcd19/main/d/doomsday/doomsday_1.15.8-5/doomsday/plugins/idtech1converter/src/mapinfotranslator.cpp:1233:
LOGDEV_MAP_VERBOSE("Warp %u translated to map %s, hub %i")
<< map << info.gets("id") << info.geti("hub");
return de::Uri(info.gets("id"), RC_NULL);
}
actcd19/main/l/linux/linux_4.15.11-1/net/ipv4/fib_trie.c:2267:
const struct trie_use_stats *pcpu = per_cpu_ptr(stats, cpu);
s.gets += pcpu->gets;
s.backtrack += pcpu->backtrack;
s.semantic_match_passed += pcpu->semantic_match_passed;
actcd19/main/q/qbittorrent/qbittorrent_3.3.15-1/src/webui/webapplication.cpp:238:
{
CHECK_URI(0);
const QStringMap& gets = request().gets;
print(btjson::getTorrents(
actcd19/main/q/qbittorrent/qbittorrent_4.0.3-1/src/base/bittorrent/tracker.cpp:168:
// 3. Get port
if (!gets.contains("port")) {
qDebug("Tracker: Missing port");
status(103, "Missing port");
actcd19/main/x/xloadimage/xloadimage_4.1-25/autoconfig.c:578:
by using the optimization flags -fstrength-reduce -finline-functions.\n\
Would you like me to use those flags? (n=no, default=yes): ");
gets(buf);
if (buf[0] == 'n')
goto get_opt_flags; /* ick, but expedient */
actcd19/main/p/percona-xtrabackup/percona-xtrabackup_2.2.3-2.1/sql/ha_ndbcluster.h:596:
Uint32 setup_get_hidden_fields(NdbOperation::GetValueSpec gets[2]);
void get_hidden_fields_keyop(NdbOperation::OperationOptions *options,
NdbOperation::GetValueSpec gets[2]);
void get_hidden_fields_scan(NdbScanOperation::ScanOptions *options,
NdbOperation::GetValueSpec gets[2]);
actcd19/main/b/binaryen/binaryen_68-1/src/passes/Souperify.cpp:87:
seenSets.insert(set);
// Find all the uses of that set.
auto& gets = localGraph.setInfluences[set];
if (debug() >= 2) {
std::cout << "addSetUses for " << set << ", " << gets.size() << " gets\n";
actcd19/main/b/boxshade/boxshade_3.3.1-12/.pc/kickOutGets.patch/dv_ps.c:202:
do {
printf("filename for POSTSCRIPT-output : ");
gets(outname);
} while (*outname == '\0');
}
actcd19/main/b/bind9/bind9_9.11.3+dfsg-2/lib/isc/mem.c:766:
*/
INSIST(ctx->stats[size].gets != 0U);
ctx->stats[size].gets--;
ctx->stats[new_size].freefrags++;
ctx->inuse -= new_size;
actcd19/main/d/doomsday/doomsday_1.15.8-5/doomsday/plugins/common/src/g_game.cpp:814:
{
// Ensure this is a playable episode.
de::Uri startMap(episodeDef->gets("startMap"), RC_NULL);
if(P_MapExists(startMap.compose().toUtf8().constData()))
{
actcd19/main/d/dx/dx_4.4.4-12/src/uipp/dxuilib/GetSetConversionDialog.C:680:
e->deselectAllNodes();
if (gets) {
it.setList(*gets);
while ( (gln = (GlobalLocalNode*)it.getNext()) )
actcd19/main/m/mame/mame_0.206+dfsg.1-1/src/lib/util/corefile.h:97:
// read a full line of text from the file
virtual char *gets(char *s, int n) = 0;
// get a pointer to a buffer that holds the full file data in RAM
actcd19/main/g/glibc/glibc_2.19-12/include/stdio.h:170:
# if __USE_FORTIFY_LEVEL > 0
extern char *__gets_chk (char *__str, size_t) __wur;
extern char *__REDIRECT (__gets_warn, (char *__str), gets)
__wur __warnattr ("please use fgets or getline instead, gets can't "
"specify buffer size");
actcd19/main/u/uthash/uthash_2.0.2-1/tests/example.c:118:
case 4:
printf("id?\n");
s = find_user(atoi(gets(in)));
if (s) {
delete_user(s);
actcd19/non-free/b/blimps/blimps_3.9+ds-1/.pc/gets.patch/blimps/papssm.c:253:
{
printf("\nEnter name of configuration file: ");
gets(cfname);
}
if ( (cfp=fopen(cfname, "r")) == NULL)
actcd19/main/d/doomsday/doomsday_1.15.8-5/doomsday/plugins/common/src/g_game.cpp:2125:
de::Uri G_MapTitleImage(de::Uri const &mapUri)
{
return de::Uri(G_MapInfoForMapUri(mapUri).gets("titleImage"), RC_NULL);
}
actcd19/main/a/arpack++/arpack++_2.3-9/.pc/fix-build-error.diff/include/arrsnsym.h:100:
void Trace(const int digit = -5, const int getv0 = 0, const int aupd = 1,
const int aup2 = 0, const int aitr = 0, const int eigt = 0,
const int apps = 0, const int gets = 0, const int eupd = 0)
{
nTraceOn(digit, getv0, aupd, aup2, aitr, eigt, apps, gets, eupd);
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/system/idiserv/src/fontsup.c:45:
Window w, fw;
char *gets();
actcd19/main/c/cgminer/cgminer_4.9.2-1/api.c:1645:
if (get)
info->gets++;
else
info->tries++;
actcd19/main/f/fltk1.1/fltk1.1_1.1.10-26/test/checkers.cxx:733:
printf("\033[1mCommand?\033[0m ");
abortflag = 0;
if (!gets(line)) {
putchar('\n');
if (feof(stdin)) fixexit(0);
actcd19/main/u/uncrustify/uncrustify_0.68.1+dfsg1-2/tests/expected/c/02460-freebsd.c:105:
{
zappy = a + really + long + statement + that + needs +
two + lines + gets + indented + four + spaces +
on + the + second + and + subsequent + lines;
}
actcd19/non-free/b/blimps/blimps_3.9+ds-1/.pc/gets.patch/blimps/blkprob.c:356:
{
printf("\nEnter name of file containing blocks search results: ");
gets(homfile);
}
/*------------- arg 3: blocks database file -----------------------*/
actcd19/main/m/mame/mame_0.176-3/src/emu/fileio.h:129:
int getc();
int ungetc(int c);
char *gets(char *s, int n);
// writing
actcd19/main/c/codonw/codonw_1.4.4-4/.pc/spelling/menu.c:1130:
"percentage (example 10%%)\n "
"\tPlease input your choice []");
gets ( pm->junk);
if( !strlen(pm->junk) ) continue;
if( (p=strchr ( pm->junk,'%')) != NULL) {
actcd19/main/d/djvulibre/djvulibre_3.5.27.1-10/.pc/debian-changes/libdjvu/UnicodeByteStream.cpp:218:
bufferpos=buffer.length();
linesread+=CountLines(retval);
retval+=gets(t?(t-(i-bufferpos)):0,stopat,inclusive);
}
}
actcd19/main/m/mame/mame_0.182-1/src/frontend/mame/ui/selsoft.cpp:773:
// get main filter
file.gets(buffer, MAX_CHAR_INFO);
pb = strchr(buffer, '=') + 2;
actcd19/non-free/b/blimps/blimps_3.9+ds-1/protomat/lislis.c:45:
{
printf("\nEnter name of file containing first list of sequences: ");
gets(lisfile);
}
if ( (flis=fopen(lisfile, "r")) == NULL)
actcd19/main/d/doomsday/doomsday_1.15.8-5/doomsday/client/src/ui/widgets/savedsessionmenuwidget.cpp:96:
String gameIdentityKey() const
{
return savedSession().metadata().gets("gameIdentityKey");
}
actcd19/main/a/arpack++/arpack++_2.3-9/.pc/arlsmat.diff/include/arrssym.h:67:
const int apps = 0, const int gets = 0, const int eupd = 0)
{
sTraceOn(digit, getv0, aupd, aup2, aitr, eigt, apps, gets, eupd);
}
// Turns on trace mode.
actcd19/main/c/coinmp/coinmp_1.8.3-2/CoinUtils/src/CoinMpsIO.cpp:280:
{
char * getit;
getit = input_->gets ( card_, MAX_CARD_LENGTH);
if ( getit ) {
actcd19/non-free/b/blimps/blimps_3.9+ds-1/.pc/gets.patch/blimps/matrix_logob.c:350:
{
printf("\nEnter AC in %s or - to make logos for all: ", bdbname);
gets(blockAC);
}
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/vms/oshtest.c:119:
printf("Specify Command: "); if (gets(msg) == 0) break;
#if 1
printf("Specify stdin : "); if (gets(c1) == 0) break;
printf("Specify stdout : "); if (gets(c2) == 0) break;
i = oshcmd(msg, c1 , c2, (char *)0);
actcd19/main/b/bind9/bind9_9.11.5.P4+dfsg-1/lib/isc/mem.c:668:
ctx->total += size;
ctx->inuse += size;
ctx->stats[ctx->max_size].gets++;
ctx->stats[ctx->max_size].totalgets++;
/*
actcd19/main/c/ctsim/ctsim_6.0.2-2/libctsupport/strfuncs.cpp:155:
printf ("\n");
printf ("Enter string that will have its head skipped -- ");
gets (str);
printf ("Enter list of characters to be skipped -- ");
gets (clist);
actcd19/main/g/goldendict/goldendict_1.5.0~rc2+git20181207+ds-1/file.hh:91:
/// can strip the trailing newline character, if this was requested.
/// Returns either s or 0 if no characters were read.
char * gets( char * s, int size, bool stripNl = false ) THROW_SPEC( exWriteError );
/// Like the above, but uses its own local internal buffer (1024 bytes
actcd19/main/n/nethack/nethack_3.6.1-1/include/amiconf.h:124:
#ifdef AZTEC_C
extern FILE *FDECL(freopen, (const char *, const char *, FILE *));
extern char *FDECL(gets, (char *));
#endif
actcd19/main/x/xloadimage/xloadimage_4.1-25/.pc/22-include.patch/autoconfig.c:564:
flags (other than optimization-related flags), specify its name and flags.\n\
(default %s): ", DEF_CC, DEF_CC);
gets(cc);
if ((cc[0] == '\0') || (cc[0] == '\n'))
strcpy(cc, DEF_CC);
actcd19/main/b/binutils/binutils_2.25-5/gas/config/tc-m68k.c:7790:
for (;;)
{
if (!gets (buf) || !*buf)
break;
if (buf[0] == '|' || buf[1] == '.')
actcd19/main/g/glibc/glibc_2.27-3/libio/iogets.c:70:
}
weak_alias (_IO_gets, gets)
link_warning (gets, "the `gets' function is dangerous and should not be used.")
actcd19/main/n/nam/nam_1.15-5/nam_stream.h:51:
virtual int seekable() { return 1; }
virtual char *gets(char *buf, int len) { return NULL; };
virtual char get_char() { return EOF; }
virtual char *rgets(char *buf, int len);
actcd19/main/y/yap/yap_6.2.2-6/C/analyst.c:653:
Yap_opcount[_save_appl_x_write] +
Yap_opcount[_save_appl_y_write];
total = gets + unifies + puts + writes + controls + choice_pts + indexes + misc;
/* for (i = 0; i <= _std_top; ++i)
actcd19/main/o/openafs/openafs_1.8.2-1/src/vol/volume.c:8960:
struct VnodeClassInfo *vcp;
vcp = &VnodeClassInfo[vLarge];
Log("Large vnode cache, %d entries, %d allocs, %d gets (%d reads), %d writes\n", vcp->cacheSize, vcp->allocs, vcp->gets, vcp->reads, vcp->writes);
vcp = &VnodeClassInfo[vSmall];
Log("Small vnode cache,%d entries, %d allocs, %d gets (%d reads), %d writes\n", vcp->cacheSize, vcp->allocs, vcp->gets, vcp->reads, vcp->writes);
actcd19/main/m/mame/mame_0.182-1/src/emu/fileio.h:136:
int getc();
int ungetc(int c);
char *gets(char *s, int n);
// writing
actcd19/main/n/ncl/ncl_6.5.0-2/ncarg2d/src/examplesC/surface/c_srex01.c:66:
gets(stmp);
for( i = 30; i < 40; i++ ) fscanf( stdin, "%f5.0", &odat[i][j] );
gets(stmp);
}
/*
actcd19/main/n/ngspice/ngspice_30.2-1/src/xspice/ipc/ipcstdio.c:48:
printf ("GET_LINE\n");
gets (str);
*len = (int) strlen (str);
return IPC_STATUS_OK;
actcd19/main/f/freemedforms-project/freemedforms-project_0.9.4-2/plugins/xmlioplugin/xmliobase.cpp:667:
req = select(gets, joins, conds);
} else {
req = select(gets, joins, conds);
conds.clear();
conds << Utils::Field(Constants::Table_FORM_CONTENT, Constants::FORMCONTENT_MODENAME, QString("LIKE '%1/%'").arg(QLocale().name().left(2)));
actcd19/main/d/doomsday/doomsday_1.15.8-5/doomsday/plugins/idtech1converter/src/mapinfotranslator.cpp:1257:
{
EpisodeInfo &info = i->second;
de::Uri startMap(info.gets("startMap", ""), RC_NULL);
if(!startMap.scheme().compareWithoutCase("@wt"))
{
actcd19/main/a/aria2/aria2_1.34.0-4/src/IOFile.cc:66:
size_t IOFile::write(const char* str) { return write(str, strlen(str)); }
char* IOFile::gets(char* s, int size) { return onGets(s, size); }
char* IOFile::getsn(char* s, int size)
actcd19/main/d/dxsamples/dxsamples_4.4.0-4/dxlink/maptoplane.c:106:
printf("Hit return to quit:");
gets(result);
DXLExitDX(conn);
}
actcd19/main/s/supercollider/supercollider_3.10.0+repack-1/server/scsynth/SC_SequencedCommand.cpp:502:
mBufIndex = msg.geti();
const char *filename = msg.gets();
if (!filename) return kSCErr_WrongArgType;
actcd19/main/d/djvulibre/djvulibre_3.5.27.1-10/libdjvu/XMLTags.cpp:200:
}
GUTF8String encoding;
for(int len;(len=(tag=xmlbs.gets(0,'>',true)).length());)
{
if(tag[len-1] != '>')
actcd19/main/g/gupnp-tools/gupnp-tools_0.8.15-1/src/common/icons.c:203:
const char *udn2;
data = gets->data;
udn1 = gupnp_device_info_get_udn (info);
udn2 = gupnp_device_info_get_udn (data->info);
actcd19/main/g/gargoyle-free/gargoyle-free_2011.1b-1/terps/alan3/save.c:348:
readline(str);
#else
gets(str);
#endif
actcd19/main/i/ifmail/ifmail_2.14tx8.10-24/iflib/rfcaddr.c:303:
char buffer[128];
while(gets(buffer))
{
printf(" parsing: \"%s\"\n",buffer);
actcd19/non-free/a/arb/arb_6.0.6-4/GDE/MAFFT/mafft-7.055-with-extensions/core/dvtditr.c:885:
int value;
gets( b ); njob = atoi( b );
/*
actcd19/non-free/s/sift/sift_4.0.3b-6/.pc/fix_perl_interpreter_and_lib_path/src/consensus_to_seq.c:147:
{
printf ("Enter name of outfile\n");
gets (outfilename);
}
if ( (*outfp = fopen (outfilename, "w")) == NULL)
actcd19/main/d/doomsday/doomsday_1.15.8-5/doomsday/plugins/dehread/src/dehreader.cpp:1843:
LOG_DEBUG("Music #%i \"%s\" lumpName => \"%s\"")
<< i << music.gets("id") << music.gets("lumpName");
}
return (numPatched > 0);
actcd19/main/a/a56/a56_1.3+dfsg-9/toomf.c:46:
int startaddr = -1;
while(gets(buf)) {
char seg;
int addr, data;
actcd19/non-free/b/blimps/blimps_3.9+ds-1/protomat/motifj.c:571:
printf("Previous number of internal duplications was %d.", Dups);
printf(" Enter new number [0-;%d]: ", Dups);
prevdup = Dups; gets(intemp); Dups = atoi(intemp);
if (Dups < 0 || !strlen(intemp) ) Dups = prevdup;
printf(" Using previous distance %d\n", Distance);
actcd19/main/b/bind9/bind9_9.11.3+dfsg-2/lib/isc/mem.c:1462:
(unsigned long) pool->size, pool->maxalloc,
pool->allocated, pool->freecount, pool->freemax,
pool->fillcount, pool->gets,
(pool->lock == NULL ? "N" : "Y"));
pool = ISC_LIST_NEXT(pool, link);
actcd19/main/b/bind9/bind9_9.10.6+dfsg-5/lib/isc/mem.c:1417:
fprintf(out, "%s%5lu: %11lu gets, %11lu rem",
(i == ctx->max_size) ? ">=" : " ",
(unsigned long) i, s->totalgets, s->gets);
if ((ctx->flags & ISC_MEMFLAG_INTERNAL) != 0 &&
(s->blocks != 0U || s->freefrags != 0U))
actcd19/main/c/codonw/codonw_1.4.4-4/.pc/remove_nondeterminism/menu.c:764:
printf (" (X) Exit this menu\n");
printf (" Select a menu choice, (Q)uit or (H)elp -> ");
gets(pm->junk);
clearscr(pm->term_length);
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/vms/osdtest.c:123:
op |= large_buffer;
while (msg[i] == ' ') i++; /* Skip leading blanks */
if (msg[i] == EOS){ printf("File Name: "); gets(&msg[i]); }
printf("VMS options F n or V n: "); gets(charop);
if (charop[0]) osfop(charop[0], atoi(charop+1));
actcd19/main/g/gup/gup_0.5.15/wildmat.c:152:
printf("\nEnter pattern: ");
(void) fflush(stdout);
if (gets(p) == NULL || p[0] == '\0')
break;
for (;;) {
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/vms/osftest.c:59:
while (1)
{ printf("Operation: Creat / Del / Rename / Mode / Info / Parse / Supply / Unix: ");
if (gets(msg) == 0) break;
switch(msg[0])
{ case 'c': case 'C': /* Create a File */
actcd19/main/b/binutils-h8300-hms/binutils-h8300-hms_2.16.1-10/gas/config/tc-vax.c:2013:
gets (my_indirect);
printf ("enter displen symbols eg enter ^ ");
gets (my_displen);
if (p = vip_begin (mysynth, my_immediate, my_indirect, my_displen))
{
actcd19/main/b/boxshade/boxshade_3.3.1-12/.pc/kickOutGets.patch/dv_hpgl.c:271:
if (!cloutflag) {
printf("filename for HPGL-output : ");
gets(outname);
}
}
actcd19/main/i/iraf/iraf_2.16.1+2018.11.01-2/unix/hlib/libc/libc.h:144:
extern char *envget (char *var);
extern char *fgets (char *buf, int maxch, struct _iobuf *fp);
extern char *gets (char *buf);
extern char *index (char *str, int ch);
extern char *malloc (unsigned nbytes);
actcd19/main/d/djvulibre/djvulibre_3.5.27.1-10/libdjvu/XMLTags.cpp:305:
}
}
if((raw=xmlbs.gets(0,'<',false))[0])
{
linesread=xmlbs.get_lines_read();
actcd19/main/b/bind9/bind9_9.11.3+dfsg-2/lib/isc/mem.c:739:
#endif
(ctx->memfree)(ctx->arg, mem);
INSIST(ctx->stats[ctx->max_size].gets != 0U);
ctx->stats[ctx->max_size].gets--;
INSIST(size <= ctx->inuse);
actcd19/main/q/qbittorrent/qbittorrent_3.3.15-1/src/base/bittorrent/tracker.cpp:175:
}
bool ok = false;
annonceReq.peer.port = gets.value("port").toInt(&ok);
if (!ok || annonceReq.peer.port < 1 || annonceReq.peer.port > 65535) {
qDebug("Tracker: Invalid port number (%d)", annonceReq.peer.port);
actcd19/main/i/ivtools/ivtools_1.2.11a1-5/src/ComTerp/ctrlfunc.cc:270:
istream in(&ifbuf);
char* buf;
in.gets(&buf);
#else
char buf[BUFSIZ];
actcd19/main/u/uhd/uhd_3.13.1.0-3/firmware/usrp2/lib/hal_io.c:270:
char *
gets(char * const s)
{
return fgets(DEFAULT_UART, s);
actcd19/main/t/thepeg/thepeg_1.8.0-4/Utilities/CFile.h:76:
* Get characters
*/
char * gets(char * s, int size);
/**
actcd19/main/q/qbittorrent/qbittorrent_4.0.3-1/src/base/bittorrent/tracker.cpp:140:
// 1. Get info_hash
if (!gets.contains("info_hash")) {
qDebug("Tracker: Missing info_hash");
status(101, "Missing info_hash");
actcd19/main/c/clamav/clamav_0.101.1+dfsg-3/libclamav/fmap.h:78:
const void* (*need)(fmap_t*, size_t at, size_t len, int lock);
const void* (*need_offstr)(fmap_t*, size_t at, size_t len_hint);
const void* (*gets)(fmap_t*, char *dst, size_t *at, size_t max_len);
void (*unneed_off)(fmap_t*, size_t at, size_t len);
#ifdef _WIN32
actcd19/non-free/b/blimps/blimps_3.9+ds-1/.pc/gets.patch/blimps/retblock.c:53:
{
printf("\nEnter name of blocks database: ");
gets(bdbname);
}
if ( (bfp=fopen(bdbname, "r")) == NULL)
actcd19/main/l/lynx/lynx_2.8.9rel.1-3/src/Xsystem.c:585:
char line_buff[STR_MAX];
while (gets(line_buff)) {
printf("\nreturn %04X\n", xsystem(line_buff));
}
actcd19/main/n/neuron/neuron_7.6.3-1/src/mswin/mwprefix.h:28:
#define printf myprintf
#define vprintf myvprintf
#define gets mygets
#define puts myputs
#define fprintf myfprintf
actcd19/non-free/a/arb/arb_6.0.6-4/GDE/CLUSTALW/interface.c:2179:
strcat(local_prompt," [%s]: ");
fprintf(stdout,local_prompt,file_name);
gets(temp);
if(*temp != EOS) strcpy(file_name,temp);
}
actcd19/main/f/flang/flang_20181226-2/runtime/include/stdioInterf.h:52:
#define __io_ftellx(fp) ftell(fp)
#define __io_gets(ptr) gets(ptr)
#define __io_perror(ptr) perror(ptr)
#define __io_printf printf
actcd19/main/c/clamav/clamav_0.101.1+dfsg-3/libclamav/fmap.h:161:
static inline const void *fmap_gets(fmap_t *m, char *dst, size_t *at, size_t max_len) {
return m->gets(m, dst, at, max_len);
}
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/test/os/osatest.c:188:
case 'W': /* Write text */
if (msg[1] == EOS) { printf("Text: ") ; gets(&msg[2]);}
st = osawrite(f, &msg[2], strlen(&msg[2]));
break;
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/prim/tw3/libsrc/tvtest.c:83:
printf("On-line editing preference: Vms, Unix, Other, Default (VMS): ");
gets(msg); switch(toupper(msg[0]))
{ case 'V': i = TW_cc_VMS; break;
case 'U': i = TW_cc_UNIX; break;
actcd19/main/d/djvulibre/djvulibre_3.5.27.1-10/libdjvu/XMLTags.cpp:246:
(tag.substr(len-3,-1) != "-->"))
{
GUTF8String cont(xmlbs.gets(0,'>',true));
if(!cont.length())
{
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/unix/osftest.c:88:
case 'p': case 'P': /* Find Elements */
printf("File to parse: "); gets(c1);
printf("Path: %s\n", osfparse(c1,_PATH_));
printf("File: %s\n", osfparse(c1,_FILE_));
actcd19/main/e/eso-midas/eso-midas_19.02pl1.0-1/libsrc/os/vms/osftest.c:66:
if (msg[0]) osfop(msg[0], atoi(msg+1));
printf("Number of bytes: ");
gets(msg); ll = atol(msg);
printf("Protection (3xoctal): ");
gets(msg);
actcd19/main/i/ispell/ispell_3.4.00-6/.pc/0006-Fix-sq-and-unsq.patch/sq.c:96:
static char prev[257] = "";
while (gets (word) != NULL)
trunc (word, prev);
return 0;
actcd19/main/o/openafs/openafs_1.8.2-1/src/vol/volume.c:9264:
len.avg = len.sum / ((double)VolumeHashTable.Size);
looks.avg = looks.sum / ((double)VolumeHashTable.Size);
gets.avg = gets.sum / ((double)VolumeHashTable.Size);
reorders.avg = reorders.sum / ((double)VolumeHashTable.Size);
actcd19/non-free/b/blimps/blimps_3.9+ds-1/protomat/motomat.c:521:
{
printf("\nEnter drop standard deviations [-30 to 30; %d]: ", lastdrop);
gets(ctemp);
DropScore = atoi(ctemp);
if (DropScore < -30 || DropScore > 30) DropScore = lastdrop;
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/include/c_std/std_cstdio.h:123:
using ::getc;
using ::getchar;
using ::gets;
using ::perror;
using ::printf;