Rev 3403 | Rev 4338 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3403 | Rev 3474 | ||
---|---|---|---|
Line 597... | Line 597... | ||
597 | } |
597 | } |
598 | cwd_dir = d; |
598 | cwd_dir = d; |
599 | cwd_path = pa; |
599 | cwd_path = pa; |
600 | cwd_len = pa_len; |
600 | cwd_len = pa_len; |
601 | futex_up(&cwd_futex); |
601 | futex_up(&cwd_futex); |
- | 602 | return EOK; |
|
602 | } |
603 | } |
603 | 604 | ||
604 | char *getcwd(char *buf, size_t size) |
605 | char *getcwd(char *buf, size_t size) |
605 | { |
606 | { |
606 | if (!size) |
607 | if (!size) |