diff --git a/src/xpdev/filewrap.c b/src/xpdev/filewrap.c
index 6efd714345b84015ab4f05ccf9e624a49450e513..8fa08304367d7464d7950195f70bb294b0c04484 100644
--- a/src/xpdev/filewrap.c
+++ b/src/xpdev/filewrap.c
@@ -171,6 +171,13 @@ int DLLCALL unlock(int fd, long pos, long len)
  * Deny   R |2 C C  N N N  Y Y Y  N N N  Y Y Y
  * None   W |C C C  N N N  N N N  Y Y Y  Y Y Y
  *        RW|C C C  N N N  N N N  N N N  Y Y Y
+ * 
+ * Legend:
+ * Y = open succeeds, 
+ * N = open fails with error code 05h. 
+ * C = open fails, INT 24 generated. 
+ * 1 = open succeeds if file read-only, else fails with error code. 
+ * 2 = open succeeds if file read-only, else fails with INT 24 
  */
 #if !defined(__QNX__)
 int DLLCALL sopen(const char *fn, int access, int share, ...)