1 /*
2 * linux/lib/close.c
3 *
4 * (C) 1991 Linus Torvalds
5 */
6
7 #define __LIBRARY__
8 #include <unistd.h> // Linux��ͷ�ļ��������˸��ַ��ų��������ͣ��������˸��ֺ�����
// �綨����__LIBRARY__����ϵͳ���úź���Ƕ���syscall0()�ȡ�
9
// �ر��ļ�������
// ����õ��ú꺯����Ӧ��int close(int fd)��ֱ�ӵ�����ϵͳ�ж�int 0x80��������__NR_close��
// ����fd�����������
10 _syscall1(int,close,int,fd)
11