home | help
bl_sam_copy_header(3)	    Library Functions Manual	   bl_sam_copy_header(3)

NAME
     bl_sam_copy_header() - Copy SAM header to another stream

LIBRARY
     #include <biolibc/sam.h>
     -lbiolibc -lxtend

SYNOPSIS
     int     bl_sam_copy_header(FILE *header_stream, FILE *sam_stream)

ARGUMENTS
     header_stream   Open FILE stream of SAM header
     sam_stream      FILE stream to which header is copied

DESCRIPTION
     Copy  SAM header from one FILE stream to another.	This is meant to be used
     in conjunction with bl_sam_skip_header(), which stores the header in a tem-
     porary file.

RETURN VALUES
     BL_WRITE_OK upon success, BL_WRITE_FAILURE or BL_READ_* on failure

SEE ALSO
     bl_sam_skip_header(3)

							   bl_sam_copy_header(3)

home | help