parm.C File Reference

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#include "strlib.h"
#include "common.h"
#include "InfoStream.h"
#include "parm.h"

Go to the source code of this file.

Functions

static int readtoeoln (FILE *f)

Variables

static int debug = 0

Function Documentation

static int readtoeoln ( FILE *  f  )  [static]

Definition at line 51 of file parm.C.

Referenced by parm::read_fortran_12I6(), and parm::readparm().

00051                                {
00052   char c;
00053 
00054   /* skip to eoln */
00055   while((c = getc(f)) != '\n') {
00056     if (c == EOF) 
00057       return -1;
00058   }
00059 
00060   return 0;
00061 }  


Variable Documentation

int debug = 0 [static]

Generated on 18 Sep 2019 for NAMD by  doxygen 1.6.1