Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FIFO(1L)		    Schily's USER COMMANDS		      FIFO(1L)

NAME
       fifo - a	fifo buffer that reads from stdin and writes to	stdout

SYNOPSIS
       fifo [ options ]

DESCRIPTION
       fifo creates a shared memory area, then forks into two processes.  fifo
       then  reads  from  stdin	and puts the data into the shared memory area.
       The other process takes data from the shared memory area	and writes  it
       to stdout.

OPTIONS
       bs=#   Set both input and output	block size to #.  You may use the same
	      method as	in dd(1) and sdd(1).  The number representing the size
	      is  taken	 in  bytes unless otherwise specified.	If a number is
	      followed directly	by the letter `.', `w',	`b',  `k',  `m',  `g',
	      `t',  or	`p',  the  size	 is  multiplied	 by  1,	 2, 512, 1024,
	      1024*1024,      1024*1024*1024,	   1024*1024*1024*1024	    or
	      1024*1024*1024*1024*1024.	 If the	size consists of numbers sepa-
	      rated  by	 `x' or	`*', multiplication of the two numbers is per-
	      formed.  Thus bs=7x8k will specify  a  blocksize	of  56 kBytes.
	      Blocksize	must be	a multiple of 512 bytes.

       fs=#   Set fifo size to #.  See bs= for the possible syntax.

	      The  default size	of the fifo is 1 Mbyte on Sun mc68000 systems,
	      4	Mbytes on non mmap() aware Linux systems and 8 Mbytes  on  all
	      other systems.

       ibs=#  Set input	buffer size to #.  See bs= for the possible syntax.

	      If unspecified and input is a pipeline, PIPE_BUF is used.

       obs=#  Set output buffer	size to	#.  See	bs= for	the possible syntax.

	      If unspecified and output	is a pipeline, PIPE_BUF	is used.

       -no-statistics
	      Do not print fifo	statistics at the end.

       -debug Print additional debug messages.

       -help  Prints a short summary of	the fifo options and exists.

       -version
	      Prints the fifo version number string and	exists.

SEE ALSO
       sdd(1), star(1).

HISTORY
       The  fifo  program was first written by J. Schilling in 1989 as a sepa-
       rate test program for buffering for star.  It was later	included  into
       the  star  program.   This program is a new attempt from	2019 to	have a
       separate	fifo program again.

BUGS
       None currently known.

       Mail bugs and suggestions to schilytools@mlists.in-berlin.de or open  a
       ticket at https://codeberg.org/schilytools/schilytools/issues

       The mailing list	archive	may be found at:

       https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de

AUTHORS
       Joerg Schilling and the schilytools project authors.

SOURCE DOWNLOAD
       The source code for fifo	is included in the schilytools project and may
       be retrieved from the schilytools project at Codeberg at:

       https://codeberg.org/schilytools/schilytools/

       The download directory is:

       https://codeberg.org/schilytools/schilytools/releases

Joerg Schilling			  2022/07/17			      FIFO(1L)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=fifo&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help