Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# SPDX-License-Identifier: Apache-2.0 |
|
import os |
|
import sys |
|
|
|
|
|
def main(): |
|
is_writeable = os.access(sys.argv[1], os.W_OK) |
|
return_code = int(not is_writeable) |
|
sys.exit(return_code) |
|
|
|
|
|
if __name__ == "__main__": |
|
main()
|
|
|