2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 763
/ 2 Years ago, thu, april 21, 2022, 12:13:01
I found the problem with my fcntl
implementation in js-ctypes. I was using the wrong constant values.
- Everywerhe I look though they have it different, For example:
These guys are getting 1 2 3 for rdlck
, wrlck
, and unlck
.
- However when i run this C code to figure out the constnats on ubuntu its telling me they are 0, 1, and 2 :
More From » c