Frage im Vorstellungsgespräch bei Riverbed Technology

Write a program to write to a named pipe in Unix. Also a programming question on finding a sub-string.