diff --git a/src/modules/files/efuns.c b/src/modules/files/efuns.c
index 51a1623353dd1ac53fdf5c6e45e908234b5a0c80..36d309c1fb3d7ad5da88a4631bbbee707ee02fb2 100644
--- a/src/modules/files/efuns.c
+++ b/src/modules/files/efuns.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: efuns.c,v 1.183 2007/01/25 17:09:09 grubba Exp $
+|| $Id: efuns.c,v 1.184 2007/03/04 17:27:44 nilsson Exp $
 */
 
 #include "global.h"
@@ -344,11 +344,11 @@ static void f_removexattr( INT32 args )
  *!
  *! The flags parameter can be used to refine the semantics of the operation.  
  *!
- *! @[XATTR_CREATE] specifies a pure create, which
+ *! @[Stdio.XATTR_CREATE] specifies a pure create, which
  *! fails if the named attribute exists already.  
  *!
- *! @[XATTR_REPLACE] specifies a pure replace operation, which fails if the named
- *! attribute does not already exist. 
+ *! @[Stdio.XATTR_REPLACE] specifies a pure replace operation, which
+ *! fails if the named attribute does not already exist.
  *!
  *! By default (no flags), the extended attribute will be created if need be, 
  *! or will simply replace the value if the attribute exists.
diff --git a/src/modules/files/file.c b/src/modules/files/file.c
index 7899166067e9d083c0f00e8f4881219896c556ef..317c696a5a9436cfc3e307e0ef3b953d9628cced 100644
--- a/src/modules/files/file.c
+++ b/src/modules/files/file.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: file.c,v 1.359 2006/07/05 20:20:49 mast Exp $
+|| $Id: file.c,v 1.360 2007/03/04 17:31:29 nilsson Exp $
 */
 
 #define NO_PIKE_SHORTHAND
@@ -2301,11 +2301,11 @@ static void file_removexattr( INT32 args )
  *!
  *! The flags parameter can be used to refine the semantics of the operation.  
  *!
- *! @[XATTR_CREATE] specifies a pure create, which
+ *! @[Stdio.XATTR_CREATE] specifies a pure create, which
  *! fails if the named attribute exists already.  
  *!
- *! @[XATTR_REPLACE] specifies a pure replace operation, which fails if the named
- *! attribute does not already exist. 
+ *! @[Stdio.XATTR_REPLACE] specifies a pure replace operation, which
+ *! fails if the named attribute does not already exist.
  *!
  *! By default (no flags), the extended attribute will be created if need be, 
  *! or will simply replace the value if the attribute exists.
@@ -4370,7 +4370,16 @@ PIKE_MODULE_INIT
   init_udp();
 
 #if defined(HAVE_FSETXATTR)
+  /*! @decl constant XATTR_CREATE
+   *! Used by @[setxattr] function and method to signify a pure
+   *! create, which will fail if the attribute already exists.
+   */
   add_integer_constant("XATTR_CREATE", XATTR_CREATE, 0 );
+
+  /*! @decl constant XATTR_REPLACE
+   *! Used by @[setxattr] function and method to signify a replace,
+   *! which will fail the the attribute does not already exists.
+   */
   add_integer_constant("XATTR_REPLACE", XATTR_REPLACE, 0 );
 #endif
   add_integer_constant("PROP_IPC",fd_INTERPROCESSABLE,0);