/[cvs]/ccvs/lib/dup2.c
ViewVC logotype

Diff of /ccvs/lib/dup2.c

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

revision 1.5 by dprice, Mon Sep 19 21:26:13 2005 UTC revision 1.6 by dprice, Tue Oct 4 02:34:53 2005 UTC
# Line 1  Line 1 
1  /* Duplicate an open file descriptor to a specified file descriptor.  /* Duplicate an open file descriptor to a specified file descriptor.
2     Copyright (C) 1999, 2004 Free Software Foundation, Inc.     Copyright (C) 1999, 2004, 2005 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 22  Line 22 
22  #endif  #endif
23    
24  #include <errno.h>  #include <errno.h>
   
25  #include <fcntl.h>  #include <fcntl.h>
26    #include <unistd.h>
 #if HAVE_UNISTD_H  
 # include <unistd.h>  
 #endif  
27    
28  #ifndef F_DUPFD  #ifndef F_DUPFD
29  static int  static int

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

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26