2022-01-13 08:40:25 anyone knows what the 420 here is for? I see that it is related to the mode. But, we already have fam as a parameter. I am under the assumption that fam == mode. 2022-01-13 08:40:33 fam = file access method ? 2022-01-13 08:45:20 weed 2022-01-13 08:45:24 (sorry) 2022-01-13 08:56:15 joe9: "the 420 here" where? 2022-01-13 09:26:51 oops, sorry. http://okturing.com/src/12969/body 2022-01-13 09:45:06 joe9: any chance fam is O_RD/O_WR/O_RDWR 2022-01-13 09:45:42 vs 420/0o644 is the permission bits to create the file with? 2022-01-13 10:12:12 bu, that would be fam, correct? 2022-01-13 10:12:28 the parameter 2022-01-13 10:13:05 it probably has to do something with the mode. but, not sure what fam might mean in the forth world. 2022-01-13 10:36:23 where is fsopen defined? 2022-01-13 10:41:12 crc: that is a very good hint. Thanks. http://okturing.com/src/12970/body 2022-01-13 10:42:52 "file access mode" I would guess 2022-01-13 10:43:28 I am used to seeing flags .or. mode. 2022-01-13 10:43:41 I think here they make it explicit 2022-01-13 10:49:41 mode is the access mode of the file, if it is created 2022-01-13 10:49:46 Sorry if you already realised that 2022-01-13 10:50:39 flags control the access mode of the file... wait I just said that 2022-01-13 10:51:12 I guess that's why U/G/O R/W/X are called "mode", and read/write/read-write are called "flags" 2022-01-13 10:51:21 Because they use all the same words 2022-01-13 10:57:37 iirc, for the sys_open system call, the 0644 / 420 would be default mode if the file has to be created