Linux preempt-rt

Check our new training course

Real-Time Linux with PREEMPT_RT

Check our new training course
with Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

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()