![]() |
|
|||
File indexing completed on 2025-05-11 08:24:34
0001 /* 0002 * Copyright (c) 2009 by 0003 * Ralf Corsépius, Ulm, Germany. All rights reserved. 0004 * 0005 * Permission to use, copy, modify, and distribute this software 0006 * is freely granted, provided that this notice is preserved. 0007 */ 0008 0009 #ifdef HAVE_CONFIG_H 0010 #include "config.h" 0011 #endif 0012 0013 #include <sys/types.h> 0014 #include <sys/stat.h> 0015 #include <fcntl.h> 0016 0017 int main(void) 0018 { 0019 int fd1; 0020 int fd2; 0021 0022 fd1 = open("/tmp/foo1", O_RDWR | O_APPEND); 0023 fd2 = open("/tmp/foo2", O_CREAT, S_IWUSR); 0024 0025 return (fd1 != fd2); 0026 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |