names_st.h 347 B

1234567891011121314151617181920
  1. // names_st.h -- names_st structure header file
  2. // constants
  3. #include <string.h>
  4. #define SLEN 32
  5. // structure declarations
  6. struct names_st
  7. {
  8. char first[SLEN];
  9. char last[SLEN];
  10. };
  11. // typedefs
  12. typedef struct names_st names;
  13. // function prototypes
  14. void get_names(names *);
  15. void show_names(const names *);
  16. char * s_gets(char * st, int n);