diff options
author | hunt <hunt> | 2005-03-29 18:07:58 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-03-29 18:07:58 +0000 |
commit | e32551b18f4560056d2d482f5e1505b1b98fa82a (patch) | |
tree | 4e9e07a9b46a4fd5dea27732571cbb04c0ef5dee /runtime/copy.c | |
parent | 13b35bb112459702e7371ecc89d7deb789818a86 (diff) | |
download | systemtap-steved-e32551b18f4560056d2d482f5e1505b1b98fa82a.tar.gz systemtap-steved-e32551b18f4560056d2d482f5e1505b1b98fa82a.tar.xz systemtap-steved-e32551b18f4560056d2d482f5e1505b1b98fa82a.zip |
*** empty log message ***
Diffstat (limited to 'runtime/copy.c')
-rw-r--r-- | runtime/copy.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/copy.c b/runtime/copy.c index 688207e5..f4b35106 100644 --- a/runtime/copy.c +++ b/runtime/copy.c @@ -1,8 +1,19 @@ +#ifndef _COPY_C_ +#define _COPY_C_ + /* -*- linux-c -*- */ /** @file copy.c * @brief Functions to copy from user space. */ +/** @addtogroup copy Functions to copy from user space. + * Functions to copy from user space. + * None of these functions will sleep (for example to allow pages + * to be swapped in). It is possible (although rare) that the data + * in user space will not present and these functions will return an error. + * @{ + */ + long _stp_strncpy_from_user(char *dst, const char __user *src, long count); //static long __stp_strncpy_from_user(char *dst, const char __user *src, long count); @@ -139,3 +150,5 @@ int _stp_copy_argv_from_user (MAP list, char __user *__user *argv) } return list->num; } +/** @} */ +#endif /* _COPY_C_ */ |