- 论坛徽章:
- 0
|
8可用积分
实在是不算明白后半部分说的是什么,各位老大帮忙看看啦
5.2.3 Signals and interrupts
1 Functions shall be implemented such that they may be interrupted at any time by a signal,
or may be called by a signal handler, or both, with no alteration to earlier, but still active,
invocations’ control flow (after the interruption), function return values, or objects with
automatic storage duration. All such objects shall be maintained outside the function
image (the instructions that compose the executable representation of a function) on a
per-invocation basis. |
最佳答案
查看完整内容
举例说明是怎样进行计数的:int m; /* m 是 int 类型的标识符。尽管 int 属于算术(arithmetic)类型,但是没有被改变(不是 pointer、array、function 中的任何一类),所以计数为 0。 */int* pm; /* pm 是指向 int 的指针(pointer)。int 是算术类型且被改变一次(int => pointer to int),所以计数为 1。 */int** ppm; /* ppm 是指向 int 的指针的指针(int => int* => int**),所以 int 被修改的次数为 2。 */int ma[10]; / ...
|