Searched refs:timeout (Results 1 - 25 of 241) sorted by relevance

12345678910

/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dvprintf.c26 ** timeout -- length of time allow to do the print
35 sm_vprintf(timeout, fmt, ap)
36 int timeout;
40 return sm_io_vfprintf(smiostdout, timeout, fmt, ap);
H A Dget.c28 ** timeout -- time to complete getc
42 sm_io_getc(fp, timeout)
44 int timeout;
47 return sm_getc(fp, timeout);
H A Drewind.c31 ** timeout -- time to complete the rewind
38 sm_io_rewind(fp, timeout)
40 int timeout;
43 (void) sm_io_seek(fp, timeout, 0L, SM_IO_SEEK_SET);
H A Dfprintf.c29 ** timeout -- time to complete print
40 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) argument
42 sm_io_fprintf(fp, timeout, fmt, va_alist)
44 int timeout;
54 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
H A Dfscanf.c29 ** timeout -- time to complete scan
40 sm_io_fscanf(SM_FILE_T *fp, int timeout, char const *fmt, ...) argument
42 sm_io_fscanf(fp, timeout, fmt, va_alist)
44 int timeout;
54 ret = sm_vfscanf(fp, timeout, fmt, ap);
H A Dfwalk.c29 ** timeout -- time to complete actions (milliseconds)
36 sm_fwalk(function, timeout)
38 int *timeout;
52 if (*timeout == SM_TIME_DEFAULT)
55 fptimeout = *timeout;
H A Dfpos.c33 ** TELLALRM -- handler when timeout activated for sm_io_tell()
64 ** timeout -- time to complete the tell (milliseconds)
72 sm_io_tell(fp, timeout)
74 int SM_NONVOLATILE timeout;
86 if (timeout == SM_TIME_DEFAULT)
87 timeout = fp->f_timeout;
88 if (timeout == SM_TIME_IMMEDIATE)
104 (void) sm_flush(fp, (int *) &timeout);
106 /* This is where we start the timeout */
107 if (timeout !
[all...]
H A Drefill.c35 ** SM_IO_RD_TIMEOUT -- measured timeout for reads
41 ** BSD-based/like systems the timeout for a select() is updated for the
52 ** to -- struct timeval of the timeout
53 ** timeout -- the original timeout value
60 #define SM_IO_RD_TIMEOUT(fp, fd, to, timeout, sel_ret) \
65 if (timeout == SM_TIME_IMMEDIATE) \
95 /* timeout */ \
111 ** timeout -- original timeout valu
[all...]
H A Dfput.c31 ** timeout -- time to complete the put-string
40 sm_io_fputs(fp, timeout, s)
42 int timeout;
53 return sm_fvwrite(fp, timeout, &uio);
H A Dwbuf.c34 ** timeout -- time to complete operation (milliseconds)
43 sm_wbuf(fp, timeout, c)
45 int timeout;
74 ** Note for the timeout, only one of the sm_io_flush's will get called.
80 if (sm_io_flush(fp, timeout))
87 if (sm_io_flush(fp, timeout))
H A Dfclose.c35 ** CLOSEALRM -- handler when timeout activated for sm_io_close()
66 ** timeout -- maximum time allowed to perform the close (millisecs)
77 sm_io_close(fp, timeout)
79 int SM_NONVOLATILE timeout;
112 /* Okay, this is where we set the timeout. */
113 if (timeout == SM_TIME_DEFAULT)
114 timeout = fp->f_timeout;
115 if (timeout == SM_TIME_IMMEDIATE)
122 r = fp->f_flags & SMWR ? sm_flush(fp, (int *) &timeout) : 0;
125 if (timeout !
[all...]
H A Dfflush.c39 ** timeout -- time to complete the flush
47 sm_io_flush(fp, timeout)
49 int SM_NONVOLATILE timeout;
67 SM_CONVERT_TIME(fp, fd, timeout, &to);
70 return sm_flush(fp, (int *) &timeout);
80 ** timeout -- max time allowed for flush (milliseconds)
87 ** timeout will get updated with the time remaining (if any)
91 sm_flush(fp, timeout)
93 int *timeout;
142 if (IS_IO_ERROR(fd, t, *timeout))
[all...]
H A Dfopen.c36 ** OPENALRM -- handler when timeout activated for sm_io_open()
62 ** REOPENALRM -- handler when timeout activated for sm_io_reopen()
93 ** timeout -- time to complete the open
109 sm_io_open(type, timeout, info, flags, rpool)
111 int SM_NONVOLATILE timeout; /* this is not the file type timeout */
129 if (timeout == SM_TIME_DEFAULT)
130 timeout = SM_TIME_FOREVER;
131 if (timeout == SM_TIME_IMMEDIATE)
139 /* Okay, this is where we set the timeout
[all...]
H A Dsem.c104 ** timeout -- how long to wait for operation to succeed.
112 sm_sem_acq(semid, semnum, timeout)
115 int timeout;
123 (timeout != SM_TIME_FOREVER ? 0 : IPC_NOWAIT);
124 if (timeout == SM_TIME_IMMEDIATE || timeout == SM_TIME_FOREVER)
132 --timeout;
133 } while (timeout > 0);
143 ** timeout -- how long to wait for operation to succeed.
151 sm_sem_rel(semid, semnum, timeout)
[all...]
H A Dfwrite.c30 ** timeout -- time to complete the write
41 sm_io_write(fp, timeout, buf, size)
43 int timeout;
64 if (sm_fvwrite(fp, timeout, &uio) == 0)
H A Dput.c35 ** timeout -- time to complete putc
47 sm_io_putc(fp, timeout, c)
49 int timeout;
58 return sm_putc(fp, timeout, c);
/osnet-11/usr/src/lib/libcurses/screen/
H A D_timeout.c49 timeout(int tm) function
/osnet-11/usr/src/lib/libc/port/gen/
H A Dpoll.c42 poll(struct pollfd *fds, nfds_t nfd, int timeout) argument
47 if (timeout < 0)
50 ts.tv_sec = timeout / MILLISEC;
51 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC;
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtimeout.c32 * timeout.c
42 static char rcsID[] = "$Header: /rd/src/libc/xcurses/rcs/timeout.c 1.1 "
59 #undef timeout macro
62 timeout(int delay) function
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_cto.c41 * Interpose socket(3SOCKET), so that we can set the connect timeout.
50 int timeout = 1000 * proxyInfo.bind_timeout.tv_sec + local
65 if (ret >= 0 && timeout > 0) {
67 &timeout, sizeof (timeout)) != 0)
70 timeout, errno);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/FTP/
H A DA.pm19 my $timeout = @_ ? shift : $data->timeout;
32 $data->can_read($timeout) or
71 my $size = shift || croak 'write($buf,$size,[$timeout])';
72 my $timeout = @_ ? shift : $data->timeout;
88 $data->can_write($timeout) or
H A DI.pm18 my $size = shift || croak 'read($buf,$size,[$timeout])';
19 my $timeout = @_ ? shift : $data->timeout;
24 $data->can_read($timeout) or
50 my $size = shift || croak 'write($buf,$size,[$timeout])';
51 my $timeout = @_ ? shift : $data->timeout;
62 $data->can_write($timeout) or
H A Ddataconn.pm8 use vars qw(@ISA $timeout $VERSION);
37 my $timeout = $data->timeout;
38 $data->can_read($timeout) && sysread($data,$buf,1);
79 my ($data, $timeout, $do_read) = @_;
87 $nfound = select($rout=$rin, $wout=$win, undef, $tout=$timeout);
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_timeout.c28 * Simple implementation of timeout functionality. The granuality is a sec
37 typedef struct timeout { struct
38 struct timeout *sip_timeout_next;
65 sip_timeout_t *timeout = NULL; local
69 timeout = timeout_current_start;
73 timeout_current_start = timeout->sip_timeout_next;
75 timeout->sip_timeout_callback_func(
76 timeout->sip_timeout_callback_func_arg);
77 free(timeout);
167 * Add a new timeout
240 sip_timeout_t *timeout = NULL; local
[all...]
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_usb.h21 extern const gchar *devinfo_keyboard_get_prober(HalDevice *d, int *timeout);

Completed in 63 milliseconds

12345678910