Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
OpenStdFiles.c File Reference
#include <stdio.h>
#include <string.h>
#include "SysDefs.h"

Go to the source code of this file.

Functions

BOOL blOpenStdFiles (char *infile, char *outfile, FILE **in, FILE **out)
 

Detailed Description

Version
V1.22
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file OpenStdFiles.c.

Function Documentation

BOOL blOpenStdFiles ( char *  infile,
char *  outfile,
FILE **  in,
FILE **  out 
)
Parameters
[in]*infileInput filename
[in]*outfileOutput filename
[out]**inInput file pointer
[out]**outOutput file pointer
Returns
Success?

Open the files if specified. In and out are not modified if files are not specified.

  • 29.06.94 Original By: ACRM
  • 24.08.94 Name changed from OpenFiles() and placed in gen lib.
  • 18.12.95 Now treats a filename of - as stdin/stdout
  • 05.02.96 Allows NULL pointers
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 126 of file OpenStdFiles.c.