lock-emu.c (392c1d919a23746e9a4e5ab03fda4ef34126d4ca) lock-emu.c (c6d439803a044ea209139672b25e35fe8d7f4aa0)
1/***************************************************************************************
2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences
3*
4* XiangShan is licensed under Mulan PSL v2.
5* You can use this software according to the terms and conditions of the Mulan PSL v2.
6* You may obtain a copy of Mulan PSL v2 at:
7* http://license.coscl.org.cn/MulanPSL2
8*
9* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
10* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
11* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
12*
13* See the Mulan PSL v2 for more details.
14***************************************************************************************/
15
1#include<unistd.h>
2#include<stdio.h>
3#include<stdlib.h>
4#include<sys/stat.h>
5#include<fcntl.h>
6#include<string.h>
7
8#define BUF_SIZE 32

--- 35 unchanged lines hidden ---
16#include<unistd.h>
17#include<stdio.h>
18#include<stdlib.h>
19#include<sys/stat.h>
20#include<fcntl.h>
21#include<string.h>
22
23#define BUF_SIZE 32

--- 35 unchanged lines hidden ---