On Solaris, this sample code allows you to get the stack pointer.
在Solaris,下面这段示例代码让您可以获取堆栈指针。
The stack pointer tells you where the end of your current stack frame is.
堆栈指针给出的是当前堆栈框架的结束位置。
This will save the old stack pointer and allocate stack memory atomically.
这会保存原来的堆栈指针,并自动分配堆栈内存。
The calling function must not care where the stack pointer is currently pointing.
调用的函数一定不能顾虑栈指针当前所指的位置。
The calling function must not care where the stack pointer is currently pointing.
调用的函数一定不能顾虑栈指针当前所指的位置。
应用推荐