Search:

Type: Posts; User: Matticus

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    1,536

    'r' represents a single character. "r"...

    'r' represents a single character.

    "r" represents a c-string (which is a series of zero or more characters terminated with a null character, '\0').

    More reading: C Strings - Cprogramming.com
  2. Replies
    3
    Views
    1,536

    (source: popen(3): pipe stream to/from process -...

    (source: popen(3): pipe stream to/from process - Linux man page)

    Note you're using a single character ('r') as the second argument. Make it a string by using double quotes instead ("r").
Results 1 to 2 of 2