NAMD
Macros | Functions
PDB.C File Reference
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include "common.h"
#include "PDB.h"
#include "SortableResizeArray.h"

Go to the source code of this file.

Macros

#define LINESIZE   100
 

Functions

static int readtoeoln (FILE *f)
 

Macro Definition Documentation

#define LINESIZE   100

Definition at line 692 of file PDB.C.

Referenced by PDB::PDB().

Function Documentation

static int readtoeoln ( FILE *  f)
static

Definition at line 539 of file PDB.C.

Referenced by PDB::PDB().

539  {
540  char c;
541 
542  /* skip to eoln */
543  while((c = getc(f)) != '\n') {
544  if (c == EOF)
545  return -1;
546  }
547 
548  return 0;
549 }