Changeset 637 for trunk/kernel/syscalls/sys_getcwd.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_getcwd.c
r610 r637 2 2 * sys_getcwd.c - kernel function implementing the "getcwd" syscall. 3 3 * 4 * Author Alain Greiner (2016,2017,2018 )4 * Author Alain Greiner (2016,2017,2018,2019) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 97 97 98 98 // copy kernel buffer to user space 99 hal_strcpy_to_uspace( buffer , first , CONFIG_VFS_MAX_PATH_LENGTH ); 99 hal_strcpy_to_uspace( buffer, 100 XPTR( local_cxy , first ), 101 CONFIG_VFS_MAX_PATH_LENGTH ); 100 102 101 103 hal_fence();
Note: See TracChangeset
for help on using the changeset viewer.