Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the next comments types #7

Open
ArturLavrov opened this issue Jan 31, 2018 · 0 comments
Open

Support for the next comments types #7

ArturLavrov opened this issue Jan 31, 2018 · 0 comments
Labels
enhancement New feature or request v1-*

Comments

@ArturLavrov
Copy link
Owner

C

/*
  * Check if we are over our maximum process limit, but be sure to
  * exclude root. This is needed to make it possible for login and
  * friends to set the per-user process limit to something lower
  * than the amount of processes root is running. -- Rik
  */
 if (atomic_read(&p->user->processes) >= p->rlim[RLIMIT_NPROC].rlim_cur
     && !capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_RESOURCE))
     goto bad_fork_free;

Haskel

{- this is a comment
on more lines -}
-- and this is a comment on one line
putStrLn "Wikipedia"  -- this is other comment

Python,Perl,PHP,Ruby Single line comments

# This program prints "Hello World" to the screen
print("Hello World!") # Note the new syntax
@ArturLavrov ArturLavrov added enhancement New feature or request v1-* labels Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1-*
Projects
None yet
Development

No branches or pull requests

1 participant