Changeset 6684 for trunk/Ohana/src/opihi/lib.data/open_image.c
- Timestamp:
- Mar 26, 2006, 1:14:47 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.data/open_image.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.data/open_image.c
r5919 r6684 33 33 } 34 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 35 /* set SIGPIPE to this function to close cleanly */ 54 36 void XImageDead (int input) { … … 80 62 81 63 Ximage[N] = fd; 64 return (TRUE); 65 } 66 67 int close_image (int N) { 68 69 if (N < 0) return (FALSE); 70 if (N >= NXIMAGE) return (FALSE); 71 72 KiiClose (Ximage[N]); 73 Ximage[N] = -1; 82 74 return (TRUE); 83 75 }
Note:
See TracChangeset
for help on using the changeset viewer.
