���������� ���������:
���������� ����������, ������������ � ��������� ������, ���������� ��������� ��� ������. (int argc)
������, ���������� ��������� ���������. (char **argv)
�������� �������:
int main (int argc, /* ���������� ���������� ��������� ������ */
char **argv) /* ������ ���������� ��������� ������ */
�������� ������������ ������� � ����������, ������� ������� � ����������� ������������
������� unix:
������������ ��������� ������� ������� ��������� ������, ������̣���� � ������������ ����� getopt.h, ����� ���������� ����������� unistd.h
int getopt_long (int argc,
/* ���������� ���������� ��������� ������ */
char * const argv[],
/* ������ ���������� ��������� ������ */
const char *optstring,
/* ������, ������������ �������� ����� */
const struct option *longopts,
/* ������, ������������ ������� ����� */
int *longindex);
/* ����� ������������ ������� ����� */
��������� �������� ���� ���������� � ������� ���������� �� �������� ����������� ����������� �
unix ��������. (man 3 getopt, man 3 getopt_long)