![]() |
|
|
google unix.com
|
|||||||
| Fórumok | Regisztráció | Fórum Szabályok | Linkek | Albumok | GYIK | Tagok listája | Naptár | Keres | Mai hozzászólások | Megjelöl Fórumok Olvas |
| Magas szintű Programozás Post kérdések C, C + +, Java, SQL, és más programozási nyelvek itt. |
Több, UNIX és Linux fórum témák Ön által talált Hasznos
|
||||
| Szál | Thread Starter | Fórum | Válaszok | Utolsó hozzászólás |
| Hívóberendezések shell funkciókat más shell script | jisha | Shell programozás és Scripting | 6 | 04-05-2008 05:29 PM |
| Hogyan adja át a két vagy több paraméter a fő héjas script | pinky | A UNIX a dummies Kérdések és válaszok | 0 | 10-12-2007 12:54 PM |
| hívás egy prg a borító! | andy2000 | Shell programozás és Scripting | 4 | 03-31-2007 05:02 AM |
| Hívóberendezések alsóindex aludni, de megáll a fő script | doublejz | Shell programozás és Scripting | 1 | 09-12-2005 03:08 PM |
| C + + hívó fő () függvény | norsk hedensk | Magas szintű Programozás | 3 | 01-22-2003 08:28 PM |
|
|
LinkBack | Téma eszközök | Keresés a téma | Rate Thread | Megjelenítési módok |
|
||||
|
Visszatérési érték (int) a legfontosabb a hívó shell
Mi az, hogy visszatérjen egy sytax int C program fő vissza a hívó shell? Kód:
#!/usr/bin/ksh typeset -i NO_RECS $NO_RECS=process_file # Process file is a C program that is set up to return an int from main. The #program complies with no issues, but an error is generated when the shell #calls the program. Is the syntax correct to return the int value to a shell #variable? Itt van a C-program: Kód:
int main(argc,argv)
{
int no_recs_tot ;
/* This is just a function within the c program that returns the int value */
no_recs_tot = bld_detail(v_out_path,v_in_path,inrec_cnt,v_src_data_dt);
return (no_recs_tot);
} /* End main */
Last edited by blowtorch; 09/25/2006 at 11:09 PM.. Indoka: add kód tags |
| Könyvjelzõk |
| Téma eszközök | Keresés a téma |
| Megjelenítési módok | Rate this thread |
|
|