mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
327 B
C
17 lines
327 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* Copyright (c) 2022 Winlin */
|
|
|
|
#include <stdio.h>
|
|
#include <setjmp.h>
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
jmp_buf ctx = {0};
|
|
int r0 = setjmp(ctx);
|
|
|
|
int nn_jb = sizeof(ctx);
|
|
printf("r0=%d, sizeof(jmp_buf)=%d (unsigned long long [%d])\n", r0, nn_jb, nn_jb/8);
|
|
return 0;
|
|
}
|
|
|