代码搜索:readline
找到约 2,619 项符合「readline」的源代码
代码结果 2,619
www.eeworm.com/read/334125/3372482
h readline.h
#ifndef _system_readline_h
#define _system_readline_h
/*
Unix SMB/CIFS implementation.
Readline wrappers
** NOTE! The following LGPL license applies to the replace
** library. Th
www.eeworm.com/read/327361/3455850
java readline.java
/* Copyright (C) 2006 Simon David Rycroft
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Softwa
www.eeworm.com/read/309984/3701704
h readline.h
/* $NetBSD: readline.h,v 1.12 2004/09/08 18:15:37 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed
www.eeworm.com/read/304849/3784464
c readline.c
//
// Visopsys
// Copyright (C) 1998-2007 J. Andrew McLaughlin
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public
www.eeworm.com/read/302713/3824492
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/290808/3970729
lc readline.lc
/* include readline */
#include "unp.h"## 1 ##src/lib/readline.c##
static int read_cnt;## 2 ##src/lib/readline.c##
static char *read_ptr;## 3 ##src/lib/readline.c##
static char read_buf[MAXLINE
www.eeworm.com/read/290808/3970802
c readline.c
/* include readline */
#include "unp.h"
static int read_cnt;
static char *read_ptr;
static char read_buf[MAXLINE];
static ssize_t
my_read(int fd, char *ptr)
{
if (read_cnt
www.eeworm.com/read/290808/3970814
lc readline.lc
/* include readline1 */
#include "unpthread.h"## 1 ##src/threads/readline.c##
static pthread_key_t rl_key;## 2 ##src/threads/readline.c##
static pthread_once_t rl_once = PTHREAD_ONCE_INIT;## 3
www.eeworm.com/read/290808/3970834
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/290808/3971224
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)