/[PAMELA software]/eventviewer/flight/src/FEventViewer.cpp
ViewVC logotype

Diff of /eventviewer/flight/src/FEventViewer.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mbongi, Mon Sep 23 08:23:46 2013 UTC revision 1.6 by mocchiut, Thu Jan 16 15:52:36 2014 UTC
# Line 115  int main(int numinp, char *inps[]){ Line 115  int main(int numinp, char *inps[]){
115      // redirect to dev/null the stdout      // redirect to dev/null the stdout
116      //      //
117      int nul;      int nul;
118      nul = open("/dev/null", O_CREAT | O_RDWR,S_IREAD | S_IWRITE);      nul = open("/dev/null", O_CREAT | O_RDWR,S_IRUSR | S_IWUSR);
119      dup2(nul,1);      dup2(nul,1);
120      dup2(nul,2);      dup2(nul,2);
121      close(nul);      close(nul);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23