A
A
Alisa_kisa2020-06-27 14:43:16
linux
Alisa_kisa, 2020-06-27 14:43:16

What are the analogues of _getch, strcat(), strcmp(), strcpy(), system(cls) for Linux?

What are the analogues of _getch, strcat(), strcmp(), strcpy(), system(cls) for Linux?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2020-06-27
@CityCat4

These functions do not need analogues. These are the main functions of C.
man getchar
man strcpy
man system
By the way, system() is a frankly stupid function, it is better to use execve() instead.
The fact that they do not work for you does not mean at all that you need to look for analogues for them. Please provide the error log.

V
Vladimir Korotenko, 2020-06-27
@firedragon

man libc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question