If the current working directory was changed successfully then zero is returned.
If the current working directory could not be changed then -1 is returned and the task’s errno may be set to indicate the reason. A task can obtain its errno value using the stdioGET_ERRNO API function.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.