代码搜索:readline
找到约 2,619 项符合「readline」的源代码
代码结果 2,619
www.eeworm.com/read/278507/10530159
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/278507/10530252
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/278507/10531816
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/278507/10531989
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/274966/10843064
cs readline.cs
using System;
using System.Workflow.ComponentModel;
using System.Workflow.Runtime;
namespace EssentialWF.Activities {
public class ReadLine : Activity {
private string text;
public s
www.eeworm.com/read/418361/10952004
c readline.c
/*
* QEMU readline utility
*
* Copyright (c) 2003-2004 Fabrice Bellard
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated document
www.eeworm.com/read/469590/6932603
h readline.h
int readline(int fd, void *vptr, size_t maxlen);
int writeline( int fd, char *s );
www.eeworm.com/read/469590/6932611
c readline.c
#include /* standard C i/o facilities */
#include
/* readline - from the Stevens book (Unix Network Programming) */
int
readline(int fd, void *vptr, int maxlen)
{
int n, rc;
c
www.eeworm.com/read/468962/6982644
sh readline.sh
# Setup the INPUTRC environment variable.
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] ; then
INPUTRC=/etc/inputrc
fi
export INPUTRC