nsMain.c 1.1 KB

123456789101112131415161718192021222324252627282930
  1. // == | Setup | =======================================================================================================
  2. #include <stdio.h>
  3. // --------------------------------------------------------------------------------------------------------------------
  4. struct NS_OUTPUT {
  5. int rv;
  6. char message[255];
  7. };
  8. // ====================================================================================================================
  9. // == | Functions | ===================================================================================================
  10. int nsOutput(struct NS_OUTPUT *aOutput) {
  11. printf( "%s\n", aOutput->message);
  12. return aOutput->rv;
  13. }
  14. // ====================================================================================================================
  15. // == | Main | ========================================================================================================
  16. int main() {
  17. struct NS_OUTPUT output = { 0, "Have I reached the party to whom I am speaking?" };
  18. return nsOutput(&output);
  19. }
  20. // ====================================================================================================================