Re: [LINUX:3225] Kisa bir soru

Giray Devlet (giray@yeditepe.edu.tr)
Thu, 13 Nov 1997 17:16:36 +0200 (EET)


> Linux'a bir source derlemeye calisiyorum.
> Acaba Borland C nin Clrscr(); si linux'in /usr/include/*.h larinda
> mevcutmu?

system("clear");

man system

SYSTEM(3) Linux Programmer's Manual SYSTEM(3)

NAME
system - execute a shell command

SYNOPSIS
#include <stdlib.h>

int system (const char * string);

DESCRIPTION
system() executes a command specified in string by calling
/bin/sh -c string, and returns after the command has been
completed. During execution of the command, SIGCHLD will
be blocked, and SIGINT and SIGQUIT will be ignored.
...

gd