CS-FreeStyle / 10000-How-To-Do-in-CS

1 stars 0 forks source link

write C standard code #51

Open liuty10 opened 5 years ago

liuty10 commented 5 years ago
  1. for data type, do not use int or long, use: int32, int64

  2. when calling system call functions, check the return value, which is easier for debugging.

  3. when creating shared memory, pay attention to the size. Make sure that the size is same.