read arguments from shell

I have to write a C program using sys call (read, no fread) to read from shell all the parameters, without know how many are them.

I tryed in some ways, but I have no success.

Any Idea?
Can I use read to read from stdin?

I'm sorry 4 the stupid question, now I remember that exists argc :cool: