Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 27. október 2026

Rozdiely pre ep/src/fd.c medzi verziami 1.8 a 1.9

verzia 1.8, 2002/02/25 18:45:53 verzia 1.9, 2002/02/28 17:50:38
Riadok 20 
Riadok 20 
 #include "fd.h"  #include "fd.h"
 #include "message.h"  #include "message.h"
   
 /*  static char *fd_str[N_FD_STR][N_FD] = {
  * TODO:  
  * - make this static a cut the same parameters,  
  * because the comparion will be case insensitive  
  */  
 char *fd_str[N_FD_STR][N_FD] = {  
         {"input ", "output", "errput"},  
         {"input", "output", "errput"},          {"input", "output", "errput"},
         {"stdin", "stdout", "stderr"},          {"stdin", "stdout", "stderr"},
         {"in", "out", "err"},          {"in", "out", "err"},
         {"in", "ou", "er"},  
         {"i", "o", "e"},          {"i", "o", "e"},
         {"INPUT", "OUTPUT", "ERRPUT"},  
         {"STDIN", "STDOUT", "STDERR"},  
         {"IN", "OUT", "ERR"},  
         {"IN", "OU", "ER"},  
         {"I", "O", "E"}  
 };  };
   
         static int          static int
Riadok 53  my_close(fd)
Riadok 41  my_close(fd)
         return close(fd);          return close(fd);
 }  }
   
           char *
   fd_id_to_fd_str(id)
           int id;
   {
           return fd_str[0][id];
   }
   
         int          int
 fd_str_to_fd_id(str)  fd_str_to_fd_id(str)
         char *str;          char *str;

Legend:
Odstranené z verzie1.8  
zmenené riadky
  Pridané vo verzii1.9

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok