File: pushbits.h

package info (click to toggle)
spiped 1.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,328 kB
  • sloc: ansic: 11,944; sh: 1,081; makefile: 628; perl: 121
file content (15 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef PUSHBITS_H_
#define PUSHBITS_H_

#include <sys/types.h>

/**
 * pushbits(in, out, thr):
 * Create a thread which copies data from ${in} to ${out} and
 * store the thread ID in ${thr}.  Wait until ${thr} has started.
 * If ${out} is a socket, disable writing to it after the thread
 * exits.
 */
int pushbits(int, int, pthread_t *);

#endif /* !PUSHBITS_H_ */