代码搜索:readline
找到约 2,619 项符合「readline」的源代码
代码结果 2,619
www.eeworm.com/read/141965/5767457
c ex14_echoserv.c
/*filename:ex14_echoserv.c*/
#include "ourhead.h"
void con_handle(int connfd)
{
ssize_t n;
char buf[MAXLINE+1];
for (;;)
{
if ((n=readline(connfd,buf,MAXLINE))==0)
return ;
www.eeworm.com/read/474814/1390591
3 editline.3
.\" $Revision: 5 $
.TH EDITLINE 3
.SH NAME
editline \- command-line editing library with history
.SH SYNOPSIS
.nf
.B "char *"
.B "readline(prompt)"
.B " char *prompt;"
.B "void"
.B "add_history(l
www.eeworm.com/read/231546/4714843
pm nox.pm
package CPAN::Nox;
use strict;
use vars qw($VERSION @EXPORT);
BEGIN{
$CPAN::Suppress_readline=1 unless defined $CPAN::term;
}
use base 'Exporter';
use CPAN;
$VERSION = "1.00";
$CPAN::META->has_in
www.eeworm.com/read/193974/5138238
py test_tokenize.py
from test_support import verbose, findfile
import tokenize, os, sys
if verbose:
print 'starting...'
file = open(findfile('tokenize_tests'+os.extsep+'py'))
tokenize.tokenize(file.readline)
if verb
www.eeworm.com/read/334125/3372608
h smbreadline.h
#ifndef __SMBREADLINE_H__
#define __SMBREADLINE_H__
char *smb_readline(const char *prompt, void (*callback)(void),
char **(completion_fn)(const char *text, int start, int end));
const char *smb
www.eeworm.com/read/322528/3523830
3 editline.3
.TH EDITLINE 3
.SH NAME
editline \- command-line editing library with history
.SH SYNOPSIS
.nf
.B "char *"
.B "readline(prompt)"
.B " char *prompt;"
.B "void"
.B "add_history(line)"
.B " char
www.eeworm.com/read/313681/3643073
3 editline.3
.TH EDITLINE 3
.SH NAME
editline \- command-line editing library with history
.SH SYNOPSIS
.nf
.B "char *"
.B "readline(prompt)"
.B " char *prompt;"
.B "void"
.B "add_history(line)"
.B " char
www.eeworm.com/read/395929/2431105
py chknet.py
import os, sys, string, re
f = open(sys.argv[1])
packet = []
times = []
while 1 :
l = f.readline()
if l == '' : break
s = string.split(l)
if s[2] == 'sending' :
ax, ay = int
www.eeworm.com/read/389759/2538379
py playlist2html.py
#!/usr/bin/env python
# -*- coding: Latin-1 -*-
import user
import os
from Playlist import Playlist
def main():
stdin = os.popen("kdialog --getsaveurl %s"%(user.home))
dest = stdin.readline