fork download
  1. #include <unistd.h>
  2.  
  3. void ft_print_alphabet(void)
  4. {
  5. char letter;
  6.  
  7. letter = 'a';
  8. while (letter <= 'z')
  9. {
  10. write(1, &letter, 1);
  11. letter++;
  12. }
  13. }
  14.  
  15. int main(void)
  16. {
  17. ft_print_alphabet();
  18. write(1, "\n", 1);
  19. return (0);
  20. }
  21.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
abcdefghijklmnopqrstuvwxyz