I'm trying to do something like

```
strcmp(argv[3], "stdout")

```

however, in the command line I don't want to type 

```
stdout\0

```

what's the best way to get rid of the \0 at the end of a string literal?

Thanks!

update:

Thanks guys. I found what's wrong with my code... I should have used

```
strcmp(argv[3], "stdout") == 0

```

Thanks @Nicol Bolas