This preview shows page 1. Sign up to view the full content.
Unformatted text preview: kprintf("\nCWD: %s\nERR: %d\n", name, err); int retval; err = sys_chdir("/bin", &retval); kprintf("\nCHDIR /bin RET: %d, ERR: %d\n", retval, err); err = sys___getcwd(name, PATH_MAX); kprintf("\nCWD: %s\nERR: %d\n", name, err); kprintf("Test End.\n"); return 0; }...
View Full Document
This note was uploaded on 11/10/2009 for the course CS 536 taught by Professor Lums during the Spring '09 term at Indiana.
- Spring '09