代码搜索:readline
找到约 2,619 项符合「readline」的源代码
代码结果 2,619
www.eeworm.com/read/465297/1521290
c readline.c
/*
* Copyright (c) 1991-2007 Kawahara Lab., Kyoto University
* Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology
* Copyright (c) 2005-2007 Julius project team, Nagoya I
www.eeworm.com/read/460691/1558408
pm readline.pm
=head1 NAME
Term::ReadLine - Perl interface to various C packages. If
no real package is found, substitutes stubs instead of basic functions.
=head1 SYNOPSIS
use Term::ReadLine;
www.eeworm.com/read/456693/1604569
c readline.c
/* This module makes GNU readline available to Python. It has ideas
* contributed by Lee Busby, LLNL, and William Magro, Cornell Theory
* Center. The completer interface was inspired by Lele Gai
www.eeworm.com/read/248928/4463065
h readline.h
/* $NetBSD: readline.h,v 1.1 2001/01/05 21:15:50 jdolecek Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed t
www.eeworm.com/read/248928/4463094
c readline.c
/* $NetBSD: readline.c,v 1.21 2002/03/18 16:20:36 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed
www.eeworm.com/read/246537/4493570
c readline.c
/* include readline */
#include "unp.h"
static ssize_t
my_read(int fd, char *ptr)
{
static int read_cnt = 0;
static char *read_ptr;
static char read_buf[MAXLINE];
if (read_cnt
www.eeworm.com/read/246537/4493592
c readline.c
/* include readline1 */
#include "unpthread.h"
static pthread_key_t rl_key;
static pthread_once_t rl_once = PTHREAD_ONCE_INIT;
static void
readline_destructor(void *ptr)
{
free(ptr);
}
static void
www.eeworm.com/read/246537/4493966
c readline.c
/* include readline */
#include "unp.h"
ssize_t
readline(int fd, void *vptr, size_t maxlen)
{
ssize_t n, rc;
char c, *ptr;
ptr = vptr;
for (n = 1; n < maxlen; n++) {
if ( (rc = read(fd, &c, 1)
www.eeworm.com/read/246537/4494013
h readline.h
typedef struct {
int read_fd; /* caller's descriptor to read from */
char *read_ptr; /* caller's buffer to read into */
size_t read_maxlen; /* max #bytes to read */
/* next three are use
www.eeworm.com/read/238372/4615390
h readline.h
#ifndef _system_readline_h
#define _system_readline_h
/*
Unix SMB/CIFS implementation.
readline wrappers
This program is free software; you can redistribute it and/or modify
it under